🐛 修复文件路径不正确的问题.
This commit is contained in:
@@ -71,8 +71,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 打开新增
|
// 打开新增
|
||||||
const open = (key: string, path: string, permission: number) => {
|
const open = (path: string, permission: number) => {
|
||||||
sessionKey.value = key;
|
|
||||||
formModel.value.path = path;
|
formModel.value.path = path;
|
||||||
formModel.value.mod = permission;
|
formModel.value.mod = permission;
|
||||||
formModel.value.permission = permission10toString(permission);
|
formModel.value.permission = permission10toString(permission);
|
||||||
|
|||||||
@@ -48,7 +48,6 @@
|
|||||||
|
|
||||||
const { visible, setVisible } = useVisible();
|
const { visible, setVisible } = useVisible();
|
||||||
|
|
||||||
const sessionKey = ref();
|
|
||||||
const targetRef = ref();
|
const targetRef = ref();
|
||||||
const formRef = ref();
|
const formRef = ref();
|
||||||
const formModel = ref({
|
const formModel = ref({
|
||||||
@@ -57,8 +56,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// 打开新增
|
// 打开新增
|
||||||
const open = (key: string, path: string) => {
|
const open = (path: string) => {
|
||||||
sessionKey.value = key;
|
|
||||||
formModel.value.path = path;
|
formModel.value.path = path;
|
||||||
formModel.value.target = path;
|
formModel.value.target = path;
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user