管理平台功能升级
This commit is contained in:
@@ -33,7 +33,7 @@ import SingleAdd from "./singleAdd.vue";
|
||||
|
||||
const singleFormNum = ref(1);
|
||||
const checked = ref(true);
|
||||
const input = ref([{ label: "卡1" }]);
|
||||
const input = ref([{ label: "账号1" }]);
|
||||
const singleAddRef = ref(null);
|
||||
const formClone = ref([]);
|
||||
|
||||
@@ -61,7 +61,7 @@ const createForm = () => {
|
||||
let difference = Math.abs(singleFormNum.value - input.value.length);
|
||||
for (let i = 0; i < difference; i++) {
|
||||
if (singleFormNum.value > input.value.length) {
|
||||
input.value.push({ label: `卡${input.value.length + 1}` });
|
||||
input.value.push({ label: `账号${input.value.length + 1}` });
|
||||
} else if (singleFormNum.value < input.value.length) {
|
||||
input.value.pop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user