mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-03-22 09:17:16 +08:00
分组管理代码优化
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user