Merge remote-tracking branch 'origin/develop' into local-test
All checks were successful
CI / Docker-Build (push) Successful in 2m28s

This commit is contained in:
joylink_fanyuhong 2024-10-30 17:20:16 +08:00
commit a936afbeb4

View File

@ -52,6 +52,7 @@
persistent persistent
transition-show="scale" transition-show="scale"
transition-hide="scale" transition-hide="scale"
@hide="onDialogHide"
> >
<q-card> <q-card>
<q-card-section> <q-card-section>
@ -285,6 +286,17 @@ function onReset() {
myForm.value?.resetValidation(); myForm.value?.resetValidation();
} }
function onDialogHide() {
editInfo.id = '';
editInfo.name = '';
editInfo.config = '';
editInfo.description = '';
list.forEach((ite) => {
setDefaultVal(ite);
});
tab.value = list[0].fieldName;
}
async function deleteData(row: RunconfigItem) { async function deleteData(row: RunconfigItem) {
operateDisabled.value = true; operateDisabled.value = true;
$q.dialog({ $q.dialog({