test: 定位渲染样式异常

This commit is contained in:
wangxuefeng 2025-03-18 11:08:44 +08:00
parent 2d787ac9f1
commit 1019afc24c

View File

@ -8,6 +8,11 @@ import { ElLoading, ElMessage } from 'element-plus';
import { LowCodeService } from './service';
// url
const urlParams = new URLSearchParams(window.location.search);
const fileId = urlParams.get('fileId');
const projectId = urlParams.get('projectId');
// wujie props
interface WujieProps {
accessToken?: string;
@ -19,7 +24,10 @@ interface WujieProps {
}
// wujie props
const wujieProps: WujieProps = window.$wujie?.props || {};
const wujieProps: WujieProps = window.$wujie?.props || {
fileId,
projectId,
};
console.log('wujie props:', wujieProps);
// sessionStorage