|
@@ -822,7 +822,8 @@ export default {
|
|
|
this.addrForm.good_ladder.splice(index, 1);
|
|
|
},
|
|
|
async num_change(e, key, index) {
|
|
|
- this.addrForm.good_ladder[index][key] = e + "" || "0";
|
|
|
+ const resNum = e ?? "";
|
|
|
+ this.addrForm.good_ladder[index][key] = resNum === "" ? "0" : resNum;
|
|
|
if (key === "min_num") {
|
|
|
const { min_num } = this.addrForm.good_ladder[index];
|
|
|
if (min_num === "" || min_num === "0") {
|