摘要:
1.data mounted 等模块函数结尾自带逗号 2.name:xxx, 3.const/var/let aaa = bbb ; 4.vm.info = res; 阅读全文
摘要:
1.在test.js中定义url对象并向外暴露 var testUrl= { url:"http://47.94.19.145/to/schoolcanteen/list"}export default testUrl 2.在vue文件中引入 import axios from "axios"imp 阅读全文