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