Weex project reported an error

the weex reference component browser can display it without reporting an error when viewing it, while scanning the QR code with WeexPlayground will report an error: the code is as follows

export default {
    data () {
      return {}
    },
    components: {
      "Footer": Footer
    }
 }

the content of the Footer component is as follows:

export default {
  data () {
    return {
      pIndexKey: "practice"
    }
  },
  methods: {
    navgate: function(aim) {
      this.pIndexKey = aim;
      router.push(aim);
    }
  }
}

the error message is as follows:

2: 2018-03-05 09:31:31.319 WeexDemo <Weex>[exception]bundleJSType:Vue
instanceId:2 bundleUrl:http://192.168.201.1:8081/dist/index.js?random=826079409 errorCode:-9400 functionName: exception:[WX_KEY_EXCEPTION_WXBRIDGE] [native-bundle-main.js:1:87659] TypeError: second argument to Function.prototype.apply must be an Array-like object (evaluating "p.push.apply(p,o.class)")
Yn@native-bundle-main.js:1:87659
m@native-bundle-main.js:1:93422
f@native-bundle-main.js:1:92678
v@native-bundle-main.js:1:93179
f@native-bundle-main.js:1:92699
v@native-bundle-main.js:1:93179
f@native-bundle-main.js:1:92699
native-bundle-main.js:1:96677
_update@native-bundle-main.js:1:80060
native-bundle-main.js:1:104749
get@native-bundle-main.js:1:62047
xt@native-bundle-main.js:1:61922
$mount@native-bundle-main.js:1:104726
init@native-bundle-main.js:1:71077
native-bundle-main.js:1:92254
f@native-bundle-main.js:1:92520
v@native-bundle-main.js:1:93179
f@native-bundle-main.js:1:92699
native-bundle-main.js:1:96939
_update@native-bundle-main.js:1:80060
native-bundle-main.js:1:104749
get@native-bundle-main.js:1:62047
xt@native-bundle-main.js:1:61922
$mount@native-bundle-main.js:1:104726
_init@native-bundle-main.js:1:78590
kn@native-bundle-main.js:1:77201

__webpack_require__


anonymous
native-bundle-main.js:1:40926
createInstance@native-bundle-main.js:1:40937
native-bundle-main.js:1:255299 userInfo:{
    jsMainBundleStringContentLength = 346841;
    jsMainBundleStringContentMd5 = 47a4c97cbcb71f46c2f94626656c8c53;
} jsfmVersion:0.24.4 sdkVersion:0.18.0 appVersion:2.2 osVersion:11.0.3 platform:iOS deviceModel:iPhone9,1

If you want to know more, please open weex MNT

May I ask what is the cause? How to solve?

Mar.11,2021
Menu