@@ -2,7 +2,7 @@
* @Author: wjc
* @Date: 2024-06-05 17:13:30
* @LastEditors: wjc
- * @LastEditTime: 2024-07-12 17:07:58
+ * @LastEditTime: 2024-07-12 17:18:01
* @Description:
*/
import { defineStore } from 'pinia'
@@ -51,7 +51,7 @@ export const useUserStore = defineStore('user', {
logout()
.then((res) => {
if (res && res.data) {
- appStore.$reset()
+ appStore.setTabbar(0)
this.$reset()
resolve(res.data)
}