浏览代码

添加demo

chenxiong 3 年之前
父节点
当前提交
5cfe8e9b10
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/views/Marketing/commodityManageMent/poppleSet.vue

+ 6 - 0
src/views/Marketing/commodityManageMent/poppleSet.vue

@@ -85,8 +85,14 @@ export default {
   methods: {
     changeNum(v) {
       console.log(v)
+       
       if (v.data.auditionMinute === 0) {
         this.$message.warning("时长禁止为0,请重新设置");
+      } else {
+        var arrays = this.$refs.trees;
+        console.log(arrays.root)
+        //修改指定项的 auditionMinute
+        // arrays.root.childNodes[0].childNodes[1].data.auditionMinute = v.data.auditionMinute
       }
     },
     inits() {