From c99cfa08505196fd6ba4d0ea8bd4dcf7a1fb268e Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 07 六月 2024 16:27:53 +0800 Subject: [PATCH] 1 --- src/store/index.js | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index e97f289..d9aac7d 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -14,7 +14,6 @@ getters, mutations:{ Set_UserName(state,username){ - console.log(username,'uuu'); state.username=username } }, @@ -29,11 +28,9 @@ // 鐩戝惉mutaions 璁板綍state鍒版湰鍦板瓨鍌� store.subscribe((mutation,state)=>{ uni.setStorageSync('state',state) - console.log(state,'statestatestate'); }) // 璇诲彇缂撳瓨涓璼tate if(uni.getStorageSync('state')){ - // console.log(state,'aaaaaaaaastatestatestate'); store.replaceState(Object.assign({},store.state,uni.getStorageSync('state'))) } }] -- Gitblit v1.9.1