Ver código fonte

make_model: add TODO on xhr cancelling and re-requesting

master
Bing Sun 5 anos atrás
pai
commit
15d9c8dc9d
Acessado por: sunb ID da chave GPG: F7795F8C590626AB
1 arquivos alterados com 5 adições e 0 exclusões
  1. +5
    -0
      src/util/make_model.js

+ 5
- 0
src/util/make_model.js Ver arquivo

@@ -96,6 +96,11 @@ export default (options={}) => {
if (_promise != null)
return _promise

// TODO
// ambient = select + order + limit/offset
// if ambient is changed, cancel currently loading xhr; otherwise return
// current promise

// now the hard work
_promise = _configs.api.request({
method: 'GET',


Carregando…
Cancelar
Salvar