Browse Source

http修改

tongshangming 2 năm trước cách đây
mục cha
commit
db23c54bf4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      utils/http.js

+ 1 - 0
utils/http.js

@@ -62,6 +62,7 @@ methods.forEach(method => {
 		)
 
 		if (opt.isAuth) {
+			const user = useUserStore()
 			if (!user.token) {
 				// uni.navigateTo({
 				// 	url: '/pages/login/login'