摘要: confirmDelete(row) { let that = this; let data = { id: row }; that.$axios .post(api.destroymodule, data) .then(res => { if (res.data.success == true) { this.$message({ message: "删除成功", type: "success" 阅读全文
posted @ 2019-09-04 16:45 风一样的猿 阅读(4735) 评论(0) 推荐(0)
摘要: 查找出 template 标签上有个 scope 属性 给改为 slot-scope 阅读全文
posted @ 2019-09-04 15:01 风一样的猿 阅读(1593) 评论(0) 推荐(0)
摘要: 父组件调用子组件 子组件 用 props 获取父组件传递的值 使用 $emit 将修改的值传递给父组件 props:['sendList','lable_list'], methods:{ sendMsg() { this.$emit('sendMessage', false) }, ok_http(){ } } ... 阅读全文
posted @ 2019-09-04 14:45 风一样的猿 阅读(5890) 评论(0) 推荐(0)