});
setTimeout(() => {
this.setData({
move_in_cart: false
});
}, 500);
this.clearAnimation(#good_box-${id});
}).bind(this)) cannot be parsed!
at C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\gogocode\src\js-core\core.js:283:31
at Array.forEach ()
at Object.replaceSelBySel (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\gogocode\src\js-core\core.js:196:22)
at AST.replace (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\gogocode\src\Ast.js:421:19)
at animateFnHandle (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\transformers\function\animate-transformer.js:29:25)
at C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\transformers\function\animate-transformer.js:51:17
at AST.each (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\gogocode\src\Ast.js:73:13)
at transformAnimate (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\transformers\function\animate-transformer.js:47:10)
at Page.transform (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\page\index.js:303:13)
at async C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\project\projectHandle.js:451:13
问题描述?
开始分析文件 分析文件信息完成,共116组数据 开始转换文件组为vue文件 进度 [------------------------------] 6/bps 0% 35.5s [ERROR]transformAnimate: components/cart/cart Error: replace failed: this.$scope.animate(
#good_box-${id}
this.data.keyFrames 150 (function() { const ballAnimationArraydata = 'ballAnimationArray[' + id + '].hide_good_box'; this.setData({}); setTimeout(() => { this.setData({ move_in_cart: false }); }, 500); this.clearAnimation()
at Object.replaceSelBySel (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\gogocode\src\js-core\core.js:196:22)
at AST.replace (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\gogocode\src\Ast.js:421:19)
at animateFnHandle (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\transformers\function\animate-transformer.js:29:25)
at C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\transformers\function\animate-transformer.js:51:17
at AST.each (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\gogocode\src\Ast.js:73:13)
at transformAnimate (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\transformers\function\animate-transformer.js:47:10)
at Page.transform (C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\page\index.js:303:13)
at async C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\src\project\projectHandle.js:451:13
#good_box-${id}
); }).bind(this)) cannot be parsed! at C:\Users\missn\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\gogocode\src\js-core\core.js:283:31 at Array.forEach (另外转换后的文件中存在@import 'undefined';手动删除后可以正常启动