greenPro/unpackage/dist/dev/mp-weixin/pages/template/global/global.wxml

1 line
586 B
Plaintext
Raw Permalink Normal View History

2024-06-02 14:51:29 +00:00
<view class="pa"><view class="uni-divider"><view class="uni-divider__content">globalData</view><view class="uni-divider__line"></view></view><text class="text">globalData中text的值: {{a}}</text><button bindtap="{{b}}" class="button">修改上述值为123</button><view class="uni-divider"><view class="uni-divider__content">vuex</view><view class="uni-divider__line"></view></view><text class="text">vuex中hasLogin的值: {{c}}</text><button bindtap="{{d}}" class="button">修改上述值为true</button><button bindtap="{{e}}" class="button">修改上述值为false</button></view>