摘要: 1.先匹配 git config --global user.name '名字' git config --global user.email '邮箱' 2.相关操作 首先使用git remote查看远程库的名字 git remote 与远程仓库建立连接 git remote add origin 阅读全文
posted @ 2021-09-27 11:15 大灰狼呀 阅读(51) 评论(0) 推荐(0)
摘要: npm - v //安装vue脚手架 npm install vue-cli - g vue init webpack //安装组件 npm i vant - s //安装组件 npm i element-ui -S //安装组件 npm install vuex --save 1.按需加载组件 / 阅读全文
posted @ 2021-09-26 15:24 大灰狼呀 阅读(55) 评论(0) 推荐(0)
摘要: 1.解决关于calc属性不生效的问题 错误写法:height: calc(100%- 200px) 因为css的运算符"+ - * /"左右两边均要留空格 正确写法:height: calc(100% - 200px) 2.el-upload 自定义上传 <el-upload v-if="diaIs 阅读全文
posted @ 2021-09-22 14:03 大灰狼呀 阅读(53) 评论(0) 推荐(0)
摘要: 1.变量声明-let 与 const 2.模版字符串 使用 反引号``(键盘上esc下面那个键) 将整个字符串包裹起来,而在其中使用 ${} 来包裹一个变量或者一个表达式 3.拓展运算符 (展开运算符) 在ES6中用...来表示展开运算符,它可以将数组方法或者对象进行展开。上例子 //1.函数调用中 阅读全文
posted @ 2021-09-01 11:56 大灰狼呀 阅读(33) 评论(0) 推荐(0)
摘要: var arr = ['a', 'b', 'c', 'd']; for (let a in arr) { console.log(a); // 0 1 2 3 } for (let a of arr) { console.log(a); // a b c d } for...of不能循环普通的对象, 阅读全文
posted @ 2021-08-31 09:40 大灰狼呀 阅读(50) 评论(0) 推荐(0)
摘要: 地图下钻 需要重新注册地图信息 registerAndsetOption(myChart, name, mapJson, serData) { this.cityName = name; //把获取到的城市name和 城市地图json 用来注册地图 this.$echarts.registerMap 阅读全文
posted @ 2021-08-30 17:13 大灰狼呀 阅读(860) 评论(0) 推荐(0)