natasha 2 年之前
父節點
當前提交
80c956231c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/Adult/inputModules/Neword.vue

+ 1 - 1
src/components/Adult/inputModules/Neword.vue

@@ -175,7 +175,7 @@ export default {
             type: "warning",
         })
         .then(() => {
-            if (this.curQue.option[0].length == 1) {
+            if (this.curQue.option[index].length == 1) {
                 this.$message.warning("至少剩余1个,不能全部删除");
                 return;
             }