@cloudbase/framework-plugin-low-code 0.6.25 → 0.6.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -300,7 +300,7 @@ function generateFramework(appData, outDir, ctx) {
300
300
  subPackageName: '',
301
301
  isBare: true,
302
302
  domain: ctx.domain || '',
303
- appConfig: {},
303
+ appConfig: JSON.stringify({}),
304
304
  } });
305
305
  }
306
306
  }
package/lib/index.js CHANGED
@@ -954,14 +954,12 @@ class LowCodePlugin extends framework_core_1.Plugin {
954
954
  }
955
955
  return arr;
956
956
  }, []);
957
- if (!this._gatewayConfig) {
958
- (_b = this._resolvedInputs.mainAppSerializeData.pageInstanceList) === null || _b === void 0 ? void 0 : _b.forEach((page) => {
959
- rules.push({
960
- keyPrefixEquals: `${path.slice(1)}${page.id}`,
961
- replaceKeyWith: path,
962
- });
957
+ (_b = this._resolvedInputs.mainAppSerializeData.pageInstanceList) === null || _b === void 0 ? void 0 : _b.forEach((page) => {
958
+ rules.push({
959
+ keyPrefixEquals: `${path.slice(1)}${page.id}`,
960
+ replaceKeyWith: path,
963
961
  });
964
- }
962
+ });
965
963
  this._rules = rules;
966
964
  }
967
965
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/framework-plugin-low-code",
3
- "version": "0.6.25",
3
+ "version": "0.6.28",
4
4
  "description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
5
5
  "author": "yhsunshining@gmail.com",
6
6
  "homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
@@ -12,7 +12,7 @@ export default () => {
12
12
  <Router history={process.env.isAdminPortal? generateHashHistory({basename: "<%= basename %>"}) : history }>
13
13
  <Switch>
14
14
  <%= routerRenders %>
15
- {process.env.isAdminPortal && <Route children={() => <Redirect to={'/404'} />} />}
15
+ {process.env.isAdminPortal && false && <Route children={() => <Redirect to={'/404'} />} />}
16
16
  </Switch>
17
17
  </Router>
18
18
  )