摘要:
结果全部为true 阅读全文
摘要:
data() { return { form: { 省市: { 省编码: '', 省名称: '省', 市编码: '', 市名称: '市' }, 收款银行: '', 银行账号: '', 收款人姓名: '' }, reFresh: true } }, watch: { 'form.省市'() { con 阅读全文
摘要:
axios中的qs 首先qs是一个npm仓库所管理的包,可通过npm install qs命令进行安装. 地址: https://www.npmjs.com/package/qs qs.parse()、qs.stringify() 1.qs.parse()将URL解析成对象的形式 const Qs 阅读全文
摘要:
import './服务合同详情.less' // #region 服务合同详情 const 服务合同详情 = { props: { value: { default: () => { return {} } } }, data() { return { isShowchildDialog: fal 阅读全文
摘要:
function 摇色子(){ return new Promise((resolve,reject)=>{ let sino=parseInt(Math.random()*6+1) setTimeout(()=>{ resolve(sino) },3000) }) } async function 阅读全文
摘要:
与App.vue同级目录建立router.js 内容为: import Vue from 'vue' import VueRouter from 'vue-router' Vue.use(VueRouter) export default new VueRouter({ routes: [ { pa 阅读全文
摘要:
1.input中只能输入数字 0-9 <el-input v-model.trim="form.银行账号" placeholder="请输入" style="width: 200px;" @input="inputChange" ></el-input> inputChange() { this.f 阅读全文
摘要:
1.官网安装@vue/cli 2.vscode中安装扩展ESLint,作用是把错误抛出 3.在package.json中写规则 "eslintConfig": { "root": true, "env": { "node": true }, "extends": [ "plugin:vue/esse 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
摘要:
<form action="123.html"> <div style="width: 200px;height: 200px;background:#ccc;"> <input type="submit" value="提交"> <a href="http://www.baidu.com" tar 阅读全文