Browse Source

新增加载

master
zhang_li 8 months ago
parent
commit
e9069bd712
  1. 3
      src/components/BasicForm/src/BasicForm.vue
  2. 1
      src/components/Dialog/src/Dialog.vue

3
src/components/BasicForm/src/BasicForm.vue

@ -10,7 +10,6 @@
style="max-height: 60vh;overflow-y: auto;">
<Form
ref="formRef"
v-loading="formLoading"
:rules="rules"
:schema="formSchema"
:is-col="true"
@ -457,7 +456,7 @@ const submitForm = async () => {
const data = unref(formRef)?.formModel
emit('success', formType.value, data)
} finally {
formLoading.value = false
// formLoading.value = false
}
}
}

1
src/components/Dialog/src/Dialog.vue

@ -89,6 +89,7 @@ const initDialog = () => {
draggable
class="com-dialog"
:show-close="false"
custom-class="loading"
>
<template #header="{ close }">
<div class="relative h-54px flex items-center justify-between pl-15px pr-15px">

Loading…
Cancel
Save