--修复动态组件导入路径错误

This commit is contained in:
2025-12-18 14:40:10 +08:00
parent fa88795dbd
commit cb1e366843
6 changed files with 8 additions and 5 deletions

View File

@ -119,7 +119,8 @@
import WebOfficeSDK from '/@/assets/libs/open-jssdk-v0.1.3.es.js';
import { getToken } from '/@/utils/auth';
import { useRoute } from 'vue-router';
import { methodOf } from 'lodash-es';
import { methodOf } from 'lodash-es';
import { buildSnowFlakeId } from '/@/utils/uuid';
const route = useRoute();
const { VITE_GLOB_UPLOAD_ALERT_TIP } = getAppEnvConfig();
@ -188,7 +189,7 @@ import { methodOf } from 'lodash-es';
tableName.value = data.tableName;
columnName.value = data.columnName;
}else{
tableId.value = props.value || '';
tableId.value = props.value || buildSnowFlakeId();
tableName.value = props.tableName || '';
columnName.value = props.columnName || '';
}