fix: #I9CWNS 前端缓存导致代码生成功能只能修改一次

This commit is contained in:
jiawei 2024-04-02 10:49:07 +08:00
parent a859ba4778
commit 4baabd03c8

View File

@ -182,7 +182,7 @@ const close = () => {
proxy?.$tab.closeOpenPage(obj); proxy?.$tab.closeOpenPage(obj);
}; };
(async () => { onActivated(async ()=>{
const tableId = route.params && (route.params.tableId as string); const tableId = route.params && (route.params.tableId as string);
if (tableId) { if (tableId) {
// //
@ -194,5 +194,5 @@ const close = () => {
const response = await getDictOptionselect(); const response = await getDictOptionselect();
dictOptions.value = response.data; dictOptions.value = response.data;
} }
})(); });
</script> </script>