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