mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2025-12-25 23:56:20 +08:00
分组管理代码优化
This commit is contained in:
parent
20491015d4
commit
2b385df20f
@ -92,7 +92,7 @@ const dataForm = ref({
|
||||
status: 1,
|
||||
isDefault: null,
|
||||
prodCount: null,
|
||||
seq: null,
|
||||
seq: 0,
|
||||
style: 0
|
||||
})
|
||||
|
||||
@ -120,6 +120,9 @@ const dataFormRef = ref(null)
|
||||
* 表单提交
|
||||
*/
|
||||
const onSubmit = Debounce(() => {
|
||||
if (!dataForm.value.seq) {
|
||||
dataForm.value.seq = 0
|
||||
}
|
||||
dataFormRef.value?.validate((valid) => {
|
||||
if (valid) {
|
||||
http({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user