上传
This commit is contained in:
@@ -136,7 +136,12 @@
|
|||||||
<template #suffix> % </template>
|
<template #suffix> % </template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
<Icon icon="ep:remove-filled" class="text-red-500 ml-20px" @click="handleRemove(index)" />
|
<Icon
|
||||||
|
v-if="index > 0"
|
||||||
|
icon="ep:remove-filled"
|
||||||
|
class="text-red-500 ml-20px"
|
||||||
|
@click="handleRemove(index)"
|
||||||
|
/>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
@@ -304,14 +309,7 @@ const resetForm = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleAddRules() {
|
function handleAddRules() {
|
||||||
formData.value.rules.push({
|
formData.value.rules.push(formData.value.rules[0])
|
||||||
ruleParam1: '2',
|
|
||||||
ruleParam2: '1',
|
|
||||||
ruleParam3: 0,
|
|
||||||
ruleParam4: '1',
|
|
||||||
ruleParam5: '1',
|
|
||||||
ruleParam6: 0
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const emit = defineEmits(['success'])
|
const emit = defineEmits(['success'])
|
||||||
|
|||||||
Reference in New Issue
Block a user