摘要: axios中的qs 首先qs是一个npm仓库所管理的包,可通过npm install qs命令进行安装. 地址: https://www.npmjs.com/package/qs qs.parse()、qs.stringify() 1.qs.parse()将URL解析成对象的形式 const Qs 阅读全文
posted @ 2020-04-13 20:10 耿鑫 阅读(431) 评论(0) 推荐(0) 编辑
摘要: import './服务合同详情.less' // #region 服务合同详情 const 服务合同详情 = { props: { value: { default: () => { return {} } } }, data() { return { isShowchildDialog: fal 阅读全文
posted @ 2020-04-13 16:53 耿鑫 阅读(3556) 评论(0) 推荐(0) 编辑
摘要: function 摇色子(){ return new Promise((resolve,reject)=>{ let sino=parseInt(Math.random()*6+1) setTimeout(()=>{ resolve(sino) },3000) }) } async function 阅读全文
posted @ 2020-04-13 16:33 耿鑫 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 与App.vue同级目录建立router.js 内容为: import Vue from 'vue' import VueRouter from 'vue-router' Vue.use(VueRouter) export default new VueRouter({ routes: [ { pa 阅读全文
posted @ 2020-04-13 16:31 耿鑫 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1.input中只能输入数字 0-9 <el-input v-model.trim="form.银行账号" placeholder="请输入" style="width: 200px;" @input="inputChange" ></el-input> inputChange() { this.f 阅读全文
posted @ 2020-04-13 16:29 耿鑫 阅读(9577) 评论(0) 推荐(0) 编辑