update 0.15.0

This commit is contained in:
yehuozhili
2022-04-24 23:24:45 +08:00
parent aa493eeea1
commit 1a77517d74
9 changed files with 28 additions and 6 deletions

View File

@@ -32,6 +32,8 @@ dooringx-lib 在运行时维护一套数据流主要分为json数据部分
## 文档 | Doc
当前版本变化较大,请等待文档完善。
[Read the Docs to Learn More](https://h5-dooring.github.io/dooringx/).
[阅读文档了解更多信息](https://h5-dooring.github.io/dooringx/).
@@ -155,6 +157,4 @@ MIT
## Todo
重构弹窗
重构事件
完善文档

View File

@@ -1,5 +1,5 @@
{
"version": "0.14.1",
"version": "0.15.0",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/dooringx-lib.esm.js",

View File

@@ -140,7 +140,7 @@ export class AnimateFactory {
// 先判断global的位置
const store = config.getStore();
let data = store.getData();
const copy: IMainStoreData = deepCopy(data);
const copy = deepCopy(data);
const originGlobal = copy.globalState as IMainStoreData['globalState'];
originGlobal.customAnimate = [...this.customAnimateName];
store.setData(copy);