소스 검색

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