diff --git a/src/platforms/mp-kuaishou/runtime/wrapper/component-parser.js b/src/platforms/mp-kuaishou/runtime/wrapper/component-parser.js index 425752d97e9cc73d19ddae184a492325dfe47320..fd3ebae87ec19f04a4e30b0463da0c6b54c7efc4 100644 --- a/src/platforms/mp-kuaishou/runtime/wrapper/component-parser.js +++ b/src/platforms/mp-kuaishou/runtime/wrapper/component-parser.js @@ -7,13 +7,12 @@ import { fixSetDataEnd } from '../../../mp-weixin/runtime/wrapper/fix-set-data' -const SDKVersion = __GLOBAL__.getSystemInfoSync().SDKVersion - export default function parseComponent (vueComponentOptions) { const componentOptions = parseBaseComponent(vueComponentOptions) const oldAttached = componentOptions.lifetimes.attached componentOptions.lifetimes.attached = function attached () { - if (isPage.call(this) && parseFloat(SDKVersion) <= 1.13) { + // 暂不区分版本 + if (isPage.call(this)) { // 解决快手小程序页面 attached 生命周期 setData 导致数据同步异常的问题 fixSetDataStart(this) setTimeout(() => {