MiniProgramError
a.default.login is not a function
TypeError: a.default.login is not a function
at Object.success (weapp:///pages/index/index.js:102:49)
at Function.t.length.f.<computed> (eval at n.call.document (http://127.0.0.1:40028/remote-debug/runtime.js?devtools_ignore=true:1:15449), <anonymous>:2:1017501)
at <api getUserInfo success callback function>
at eval (eval at n.call.document (http://127.0.0.1:40028/remote-debug/runtime.js?devtools_ignore=true:1:15449), <anonymous>:2:161963)
at success (eval at n.call.document (http://127.0.0.1:40028/remote-debug/runtime.js?devtools_ignore=true:1:15449), <anonymous>:2:812058)
at success (eval at n.call.document (http://127.0.0.1:40028/remote-debug/runtime.js?devtools_ignore=true:1:15449), <anonymous>:2:1242809)
at r.success (eval at n.call.document (http://127.0.0.1:40028/remote-debug/runtime.js?devtools_ignore=true:1:15449), <anonymous>:2:828109)
at <api operateWXData success callback function>
at Object.eval [as success] (eval at n.call.document (http://127.0.0.1:40028/remote-debug/runtime.js?devtools_ignore=true:1:15449), <anonymous>:2:161963)
at a (eval at n.call.document (http://127.0.0.1:40028/remote-debug/runtime.js?devtools_ignore=true:1:15449), <anonymous>:2:819011)
errorReport @ VM13:2
thirdErrorReport @ VM13:2
eval @ VM13:2
p @ VM13:2
eval @ VM13:2
success @ VM13:2
success @ VM13:2
success @ VM13:2
p @ VM13:2
eval @ VM13:2
a @ VM13:2
vu @ VM13:2
wu @ VM13:2
eval @ VM13:2
s @ VM13:2
callAndRemove @ VM13:2
invokeCallbackHandler @ VM13:2
le @ runtime.js?devtools_ignore=true:1
Pe @ runtime.js?devtools_ignore=true:1
Le.He.onmessage @ runtime.js?devtools_ignore=true:1
不贴一下代码吗?index.js,102行