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() {