wxMiniStore icon indicating copy to clipboard operation
wxMiniStore copied to clipboard

state修改在页面怎么监听

Open Sunnyjson opened this issue 3 years ago • 1 comments

是否可以实现在页面监听到state的修改,之后对数据进行修改/处理

Sunnyjson avatar Aug 26 '20 07:08 Sunnyjson

暂不支持监听修改,state的更新都是由setState发起,所以可以在setState时进行处理。数据监听将在下个版本加入

xiaoyao96 avatar Sep 01 '20 10:09 xiaoyao96