收藏
回答

调用wx.bindEmployeeRelation报错?

代码片段为:

报错信息:

MiniProgramError

o.bindEmployeeRelation is not a function. (In 'o.bindEmployeeRelation({tmplIds:this.tmplIds,success:function(n){e.getInfo()},fail:function(n){console.log("调用失败",n),e.getInfo()}})', 'o.bindEmployeeRelation' is undefined)

TypeError: o.bindEmployeeRelation is not a function. (In 'o.bindEmployeeRelation({tmplIds:this.tmplIds,success:function(n){e.getInfo()},fail:function(n){console.log("调用失败",n),e.getInfo()}})', 'o.bindEmployeeRelation' is undefined)

at  (chunk_29.appservice.js:326:6385)

at  (native code)

at  (appservice.app.js:43:235488)

at forEach (native code)

at  (appservice.app.js:43:234814)

at forEach (native code)

at Pt (appservice.app.js:43:234616)

at  (WASubContext.js:1:359534)

at  (WASubContext.js:1:210216)

at  (WASubContext.js:1:209981)

at r (WASubContext.js:1:213929)

at  (WASubContext.js:1:214737)

at l (WASubContext.js:1:213386)

at  (WASubContext.js:1:214584)

at  (WASubContext.js:1:214852)

at  (WASubContext.js:1:239077)

at  (appservice.app.js:49:54895)

at clickHandler (chunk_31.appservice.js:115:3490)

at clickHandler (native code)

at  (appservice.app.js:43:235488)

at forEach (native code)

at  (appservice.app.js:43:234814)

at forEach (native code)

at Pt (appservice.app.js:43:234616)

at  (WASubContext.js:1:210216)

at  (WASubContext.js:1:422281)

at jn (WASubContext.js:1:357426)

at  (WASubContext.js:1:422186)

at ve (WASubContext.js:1:299711)

at he (WASubContext.js:1:299451)

at  (WASubContext.js:1:300285)

at  (WAServiceMainContext.js:1:700147)

at emit (WAServiceMainContext.js:1:119114)

at emit (native code)

at dispatch (WAServiceMainContext.js:1:129206)

at cb (WAServiceMainContext.js:1:129716)

at cb (native code)

at emit (WAServiceMainContext.js:1:118733)

at subscribeHandler (WAServiceMainContext.js:1:124356)

global code@

回答关注问题邀请回答
收藏

2 个回答

  • 智能回答 智能回答 本次回答由AI生成
    02-24
    有用
  • 罐梨脆紫柿
    罐梨脆紫柿
    02-24

    基础库版本过低,没有该方法,在设置里修改基础库为最新的再试下。

    02-24
    有用
    回复 2
    • 倾心
      倾心
      02-25
      可以了,谢谢🤝
      02-25
      回复
    • 罐梨脆紫柿
      罐梨脆紫柿
      02-25回复倾心
      好的。
      02-25
      回复
登录 后发表内容