fast-vue-multi-pages 1.0.24 → 1.0.25

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.
@@ -12,7 +12,7 @@ class FastVueMultiAnimate {
12
12
  this.clearAnimate(animateCode);
13
13
  let params = ValueAnimateConfig.newParam(animateConfig);
14
14
  const anime = require('animejs');
15
- this.animateMap[animateCode] = anime({
15
+ this.animateMap[animateCode] = anime.default({
16
16
  targets: {
17
17
  value: params.from,
18
18
  },
@@ -14,7 +14,7 @@ define(["require", "exports"], function (require, exports) {
14
14
  this.clearAnimate(animateCode);
15
15
  var params = ValueAnimateConfig.newParam(animateConfig);
16
16
  var anime = require('animejs');
17
- this.animateMap[animateCode] = anime({
17
+ this.animateMap[animateCode] = anime.default({
18
18
  targets: {
19
19
  value: params.from,
20
20
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-vue-multi-pages",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "author": "janesen",
5
5
  "description": "快速搭建VUE项目工具类的基本库,主要用于每个功能页面独立生成html",
6
6
  "main": "./dist/cjs/index.js",