Fork me on GitHub
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 25 下一页
摘要: <template> <div id="app"> <h1>父组件</h1> <textarea type="text" v-model="keyboards"></textarea> <keyboard v-on:updatekey="GetKeyVal"></keyboard> </div> < 阅读全文
posted @ 2018-11-08 15:12 欢欢11 阅读(2808) 评论(0) 推荐(0) 编辑
摘要: <template> <card-layout :title="L('Users')" :actions="actions" @click="handleClick"> <el-table :data="tableData4.slice((currentPage-1)*pagesize,curren 阅读全文
posted @ 2018-11-07 21:38 欢欢11 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 1.npm install --global @vue/cli 2.npm install -g @vue/cli-init 3.vue init webpack my-project 阅读全文
posted @ 2018-11-07 12:26 欢欢11 阅读(146) 评论(0) 推荐(0) 编辑
摘要: npm install chromedriver -g 阅读全文
posted @ 2018-11-07 10:13 欢欢11 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 1.npm install vue-i18n 2.在 main.js 中引入 vue-i18n import VueI18n from 'vue-i18n' Vue.use(VueI18n) 3.在main.js中准备翻译 const messages = { zh: { message: { name:'李四' } }... 阅读全文
posted @ 2018-11-07 09:18 欢欢11 阅读(202) 评论(0) 推荐(0) 编辑
摘要: if (!this.surname) { this.$createDialog({ type: "alert", icon: "cubeic-close", showClose: true, content: this.$t("message.errInputSurname"), ... 阅读全文
posted @ 2018-11-07 09:07 欢欢11 阅读(2695) 评论(0) 推荐(0) 编辑
摘要: getage() { var birthdays = new Date(this.birthday.replace(/-/g, "/")); var d = new Date(); var age = d.getFullYear() - birthdays.getFullYear() - (d.getMo... 阅读全文
posted @ 2018-11-07 09:05 欢欢11 阅读(4796) 评论(0) 推荐(0) 编辑
摘要: 1、安装sass的依赖包 npm install --save-dev sass-loader //sass-loader依赖于node-sass npm install --save-dev node-sass 2、在build文件夹下的webpack.base.conf.js的rules里面添加配置 { test: /\.sass$/, loaders: ['style', '... 阅读全文
posted @ 2018-11-05 17:13 欢欢11 阅读(167) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000012568480 阅读全文
posted @ 2018-11-05 16:15 欢欢11 阅读(1724) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-11-05 09:33 欢欢11 阅读(86) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 25 下一页