Browse Source

make_model: add TODO on xhr cancelling and re-requesting

master
Bing Sun 5 years ago
parent
commit
15d9c8dc9d
Signed by: sunb GPG Key ID: F7795F8C590626AB
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/util/make_model.js

+ 5
- 0
src/util/make_model.js View File

@@ -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',


Loading…
Cancel
Save