@@ -8,6 +8,7 @@ export type Params = {
lang?: langNameEum;
test?: boolean;
console?: string;
+ temp?: boolean;
token?: string;
realPath?: string;
entry?: string;
@@ -7,6 +7,12 @@ let staticPrefix;
export const setStaticPrefix = (ver) => (staticPrefix = ver);
export const laserFactory = (props: LaserSDKProps, store?: Store): LaserSDK => {
+ console.log("enter", {
+ dom: props.sceneEl,
+ number: props.num,
+ staticPrefix,
+ ...props,
+ });
const laser = enter({
dom: props.sceneEl,
number: props.num,
@@ -397,6 +397,7 @@ export type LaserSDKProps = {
webSite: string;
isDebug?: boolean;
getFileUrl: (url: string) => Promise<string>;
+ isTemp: boolean;
axios: any;
basePath: string;
};
@@ -45,6 +45,7 @@ onMounted(async () => {
store: store,
isDebug: useParams().test,
getFileUrl: api.getFile,
+ isTemp: useParams().temp,
webSite: "",
axios: null,
basePath: currentApp.basePath,