Match-id-73ed656be14649c6992f6d3c2786429fa30c531f

This commit is contained in:
* 2023-01-03 20:13:42 +08:00 committed by *
parent 9ac6225f3c
commit 69ebc90fc0
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
## 0.0.29 (2023-01-03)
## 0.0.30 (2023-01-03)
- **CI**: 生成态输出文件改为horiozn.producion.min.js
## 0.0.26 (2022-11-09)

View File

@ -4,7 +4,7 @@
"keywords": [
"horizon"
],
"version": "0.0.29",
"version": "0.0.30",
"homepage": "",
"bugs": "",
"main": "index.js",

View File

@ -108,7 +108,7 @@ window.addEventListener('message', messageEvent => {
}
// executes store action
if (messageEvent.data.payload.type === 'horizonx executue action') {
if (messageEvent.data?.payload?.type === 'horizonx executue action') {
const data = messageEvent.data.payload.data;
const store = getStore(data.storeId);
if (!store?.[data.action]) return;