vue-async-methods-用于基于承诺的方法的助手实用程序-Vue.js开发

时间:2021-05-27 22:25:21
【文件属性】:
文件名称:vue-async-methods-用于基于承诺的方法的助手实用程序-Vue.js开发
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-27 22:25:21
Vue.js Miscellaneous vue-async-methods Vue异步方法支持为您的视图中使用的基于Promise的方法提供实用程序方法。 还可以在vie vue-async-methods中捕获错误。Vue异步方法支持为您的基于Promise的方法提供实用程序方法,以便在视图中使用。 同时捕获视图中的错误。 演示安装$ npm install vue-async-methods用法从'vue-async-methods'导入AsyncMethods Vue.use(AsyncMethods [,options])选项createComputed默认为false,如果为true:创建将fetchArticles.resolvedWith代理为文章getComputedName( vm,methodName)应该返回d名称的函数
【文件预览】:
vue-async-methods-master
----.gitattributes(29B)
----.eslintrc.js(231B)
----test.js(7KB)
----license(1KB)
----.travis.yml(35B)
----README.md(3KB)
----.npmrc(19B)
----.yo-rc.json(136B)
----.editorconfig(193B)
----.gitignore(44B)
----index.js(6KB)
----package.json(812B)

网友评论