Commit 5ec95e86 authored by 黄媛媛's avatar 黄媛媛

登录成功的 关闭

parent 97a8566c
......@@ -117,6 +117,7 @@ export default {
},
res => {
if (res.resultCode == 1) {
this.showDialog=false;
uni.setStorageSync('mall_UserInfo', res.data);
that.$emit('changeuserinfo');
uni.removeStorageSync('pid');
......
......@@ -198,7 +198,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -195,7 +195,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -223,7 +223,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -102,7 +102,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -104,7 +104,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -106,7 +106,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -106,7 +106,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -90,7 +90,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -93,7 +93,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -90,7 +90,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth() {
......
......@@ -34,7 +34,7 @@ export default {
methods: {
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false
// this.showAuth=false
},
//关闭登录窗口
gbAuth(){
......
......@@ -148,7 +148,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
this.init();
},
//关闭登录窗口
......
......@@ -137,7 +137,7 @@
},
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false;
// this.showAuth=false;
this.getData()
},
goback(){
......
......@@ -162,7 +162,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth = false;
// this.showAuth = false;
this.loading = true;
this.init();
},
......
......@@ -198,9 +198,9 @@
删除
</u-button>
</view>
<tabbars></tabbars>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth>
<tabbars></tabbars>
</div>
</template>
<script>
......@@ -232,6 +232,7 @@ export default {
pageSize: 50,
Name: ''
},
u:{},
showAuth:false
};
},
......@@ -297,7 +298,6 @@ export default {
},
init() {
uni.showNavigationBarLoading();
let h = this.apiheader();
this.isloading=true;
this.request2(
{
......
......@@ -191,7 +191,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false;
// this.showAuth=false;
this.init();
},
//关闭登录窗口
......
......@@ -200,7 +200,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false;
// this.showAuth=false;
this.init();
},
//关闭登录窗口
......
......@@ -196,7 +196,7 @@
},
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false;
// this.showAuth=false;
this.init();
},
//关闭登录窗口
......
......@@ -252,7 +252,7 @@
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false;
// this.showAuth=false;
this.init(); //成功之后调取接口
},
//关闭登录窗口
......
......@@ -167,7 +167,7 @@ export default {
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
},
//关闭登录窗口
gbAuth(){
......
......@@ -355,7 +355,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync('mall_UserInfo');
this.showAuth = false;
// this.showAuth = false;
this.init();
this.initPage();
},
......
......@@ -193,7 +193,7 @@
methods: {
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false;
// this.showAuth=false;
this.init()
},
goback(){
......
......@@ -241,7 +241,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth = false;
// this.showAuth = false;
this.init();
},
goback(){
......
......@@ -569,7 +569,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth = false;
// this.showAuth = false;
this.getOrderStatus();
},
goback(){
......
......@@ -279,7 +279,7 @@
methods: {
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false;
// this.showAuth=false;
this.init()
// this.getuserinfo()
},
......
......@@ -170,7 +170,7 @@ export default {
},
reloadUserinfo() {
this.u = uni.getStorageSync("mall_UserInfo");
this.showAuth=false;
// this.showAuth=false;
this.init();
},
//关闭登录窗口
......
......@@ -266,7 +266,7 @@ export default {
reloadUserinfo() {
this.userinfo();
this.u = this.user_info;
this.showAuth = false;
// this.showAuth = false;
},
login(name) {
if ((name && name.nickname == '') || !name || !name.nickname) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment