|
@ -300,7 +300,7 @@ Page({ |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
addAnother() { |
|
|
addAnother() { |
|
|
let newValue = this.data.arr1.length + 1; // 根据数组长度确定新值
|
|
|
let newValue = this.data.arr1.length + 1; // 根据addAnother数组长度确定新值
|
|
|
let newArr = this.data.arr1.concat({ |
|
|
let newArr = this.data.arr1.concat({ |
|
|
value: newValue.toString(), |
|
|
value: newValue.toString(), |
|
|
name: this.data.hazardDesc |
|
|
name: this.data.hazardDesc |
|
|