vue-async-computed:Vue.js的异步计算属性

时间:2021-02-06 10:35:23
【文件属性】:
文件名称:vue-async-computed:Vue.js的异步计算属性
文件大小:65KB
文件格式:ZIP
更新时间:2021-02-06 10:35:23
vue async vue-plugin Vue.jsJavaScript Vue异步计算 使用此插件,您可以在Vue中具有异步计算的计算属性。 如果不使用此插件,则无法执行以下操作: new Vue ( { data : { userId : 1 } , computed : { username ( ) { // Using vue-resource return Vue . http . get ( '/get-username-by-id/' + this . userId ) // This assumes that this endpoint will send us a respo
【文件预览】:
vue-async-computed-master
----.eslintrc(497B)
----src()
--------shouldUpdate.js(367B)
--------lazy.js(838B)
--------util.js(576B)
--------index.js(5KB)
--------watch.js(1KB)
----.babelrc(67B)
----types()
--------index.d.ts(1KB)
----.travis.yml(51B)
----LICENSE(1KB)
----test()
--------index.js(23KB)
----README.md(12KB)
----.editorconfig(171B)
----.gitignore(66B)
----CHANGELOG.md(4KB)
----package-lock.json(208KB)
----package.json(3KB)

网友评论