feat(custom): 完善幻灯片功能

This commit is contained in:
2023-12-15 20:49:46 +08:00
parent 031b54af94
commit b4689e6e34
2 changed files with 268 additions and 3 deletions

View File

@@ -131,6 +131,14 @@
<n-form-item label="商户状态:" path="status">
<n-switch v-model:value="formValue.status" :checked-value="1" :unchecked-value="2" />
</n-form-item>
<n-form-item label="商户序号:" path="sort">
<n-input-number
v-model:value="formValue.sort"
placeholder="请输入商户排序序号"
:min="0"
:max="99999999"
/>
</n-form-item>
<n-form-item>
<n-button
class="m-auto w-200"
@@ -264,6 +272,7 @@ let formValue = ref({
scaleType: null,
scale: null,
status: 2,
sort: 0,
})
const rules = {
@@ -401,6 +410,7 @@ const handleClearValidateClick = () => {
scaleType: null,
scale: null,
status: 2,
sort: 0,
}
}
</script>