Match-id-73ed656be14649c6992f6d3c2786429fa30c531f
This commit is contained in:
parent
9ac6225f3c
commit
69ebc90fc0
|
@ -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)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"keywords": [
|
||||
"horizon"
|
||||
],
|
||||
"version": "0.0.29",
|
||||
"version": "0.0.30",
|
||||
"homepage": "",
|
||||
"bugs": "",
|
||||
"main": "index.js",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue