@lark-apaas/devtool-kits 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/dist/error.html +5 -1
  2. package/package.json +1 -1
package/dist/error.html CHANGED
@@ -146,7 +146,11 @@
146
146
  search: window.location.search,
147
147
  hash: window.location.hash,
148
148
  };
149
-
149
+ // 通知前端,渲染错误页面已准备就绪
150
+ sendPostMessage({
151
+ type: 'PreviewReady'
152
+ });
153
+
150
154
  // 如果有错误对象,发送 postMessage
151
155
  if (errorData) {
152
156
  sendPostMessage({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/devtool-kits",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "FullStack Devtool Kits",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",