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