🐛 修复文件路径不正确的问题.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user