摘要: 1、在element表格内使用计数器(点击效果被覆盖,计数器只能点一次) 当在element表格中只是添加数据的话直接使用 如果在组件之中使用其他组件要添加插槽<slot-scope="scope"> 然后给属性v-model:"scope.row.cartNumber" 2、计数器之间互相产生影响 阅读全文
posted @ 2020-09-17 17:05 十、 阅读(1353) 评论(0) 推荐(0)
摘要: this.$route.push({path:'/FirstPage'}) 或者 this.$route.push({name:firstpage}) router文件内: { path: "/FirstPage",//形成对应关系 name: "firstpage",//形成对应关系 compon 阅读全文
posted @ 2020-09-17 16:00 十、 阅读(191) 评论(0) 推荐(0)
摘要: 1、element表格内部实现文本或者字段拼接显示 </el-table-column> <el-table-column prop="oeNumber" label="商品名称/OE" width="180" > <!-- 表格内部拼接 --> <template slot-scope="scop 阅读全文
posted @ 2020-09-17 08:58 十、 阅读(376) 评论(0) 推荐(0)