🐛 修复文件路径不正确的问题.

This commit is contained in:
lijiahangmax
2025-07-08 00:32:37 +08:00
parent f34dc75f41
commit dd0237a83a
2 changed files with 2 additions and 5 deletions

View File

@@ -71,8 +71,7 @@
};
// 打开新增
const open = (key: string, path: string, permission: number) => {
sessionKey.value = key;
const open = (path: string, permission: number) => {
formModel.value.path = path;
formModel.value.mod = permission;
formModel.value.permission = permission10toString(permission);

View File

@@ -48,7 +48,6 @@
const { visible, setVisible } = useVisible();
const sessionKey = ref();
const targetRef = ref();
const formRef = ref();
const formModel = ref({
@@ -57,8 +56,7 @@
});
// 打开新增
const open = (key: string, path: string) => {
sessionKey.value = key;
const open = (path: string) => {
formModel.value.path = path;
formModel.value.target = path;
setVisible(true);