showToast无法正常显示。会显示一个小框。
如果插件内使用,会报(开发工具内不再现,需要在pc微信内预览,或线上)
MiniProgramError
Cannot read property 'plugins' of undefined
TypeError: Cannot read property 'plugins' of undefined
at Function.success (<anonymous>:2:2751012)
at u (<anonymous>:2:114071)
at Object.success (<anonymous>:2:114523)
at <anonymous>:2:1910350
at Generator.next (<anonymous>)
at r (<anonymous>:2:1032)
at s (<anonymous>:2:1235)
错误
代码,直接调用即可,开发工具 sdk版本选择2.19.2
你好,请改下主题再试试。