INNER CODE UNIT · JavaScript

host

LiuChangFreeman/OneIndexServerless · Web/src/models/main.js:66

          host=host.substr(0,host.length-1);
        }
        yield put({
          type: 'setHost',
          payload: host,
        });
      }
    },
    *fetchList({ payload }, { call, put,select}) {
      yield put({
        type: 'setLoading',
        payload: true,
      });
      const host = yield select(state => state.util.host);
      const paths = yield select(state => state.util.paths);
      let response={};
      if(paths.length===0){
        response=yield call(getList,host);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…