diff --git a/client/packages/lowcoder-sdk/package.json b/client/packages/lowcoder-sdk/package.json index 4dba93f0a..5b5145444 100644 --- a/client/packages/lowcoder-sdk/package.json +++ b/client/packages/lowcoder-sdk/package.json @@ -1,6 +1,6 @@ { "name": "lowcoder-sdk", - "version": "2.1.0", + "version": "2.1.6", "type": "module", "files": [ "src", diff --git a/client/packages/lowcoder/src/comps/utils/useCompInstance.tsx b/client/packages/lowcoder/src/comps/utils/useCompInstance.tsx index 82b6a7547..d58457201 100644 --- a/client/packages/lowcoder/src/comps/utils/useCompInstance.tsx +++ b/client/packages/lowcoder/src/comps/utils/useCompInstance.tsx @@ -205,7 +205,7 @@ export function getCompContainer(params: GetContainer const reduceFn = wrapWithPromiseHandling((act: CompAction) => { let action = act; if (reduceContext && reduceContext.readOnly && action.editDSL) { - log.error("editDSL should be false in view mode, action: ", action); + log.info("editDSL should be false in view mode, action: ", action); action = { ...action, editDSL: false }; } diff --git a/client/packages/lowcoder/vite.config.mts b/client/packages/lowcoder/vite.config.mts index d25fc7c59..08ef34ab5 100644 --- a/client/packages/lowcoder/vite.config.mts +++ b/client/packages/lowcoder/vite.config.mts @@ -22,7 +22,9 @@ const isEEGlobal = edition === "enterprise-global"; const isEE = edition === "enterprise" || isEEGlobal; const isDev = nodeEnv === "development"; const isVisualizerEnabled = !!process.env.ENABLE_VISUALIZER; -const browserCheckFileName = `browser-check-${process.env.REACT_APP_COMMIT_ID}.js`; +// the file was never created +// const browserCheckFileName = `browser-check-${process.env.REACT_APP_COMMIT_ID}.js`; +const browserCheckFileName = `browser-check.js`; const base = ensureLastSlash(process.env.PUBLIC_URL); if (!apiProxyTarget && isDev) {