环境配置问题修复

This commit is contained in:
joylink_fanyuhong 2024-10-30 17:19:44 +08:00
parent e04e855c66
commit d31acd3688

View File

@ -52,6 +52,7 @@
persistent
transition-show="scale"
transition-hide="scale"
@hide="onDialogHide"
>
<q-card>
<q-card-section>
@ -285,6 +286,17 @@ function onReset() {
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) {
operateDisabled.value = true;
$q.dialog({