小程序引入computed报错:Behaviors should be constructed with Behavior()
解决方案:
const computedBehavior = require('miniprogram-computed').behavior
在引入后面加上.behavior 即可
时间:2022-01-03 05:43:19
小程序引入computed报错:Behaviors should be constructed with Behavior()
解决方案:
const computedBehavior = require('miniprogram-computed').behavior
在引入后面加上.behavior 即可