#
whycq
2022-02-18 70acfdf2bb1afb2708fc7fd3e7e9ee2f8374e607
pages/login/login.vue
@@ -112,7 +112,6 @@
             that.password = '';
         }
         const UIP = uni.getStorageSync('UIP');
            console.log(UIP)
            if (UIP) {
             that.IP = UIP;
            } else {
@@ -155,12 +154,8 @@
            this.IP = type
            this.UIP = type
            uni.setStorageSync('UIP',type)
            console.log(this.IP)
            console.log(this.baseUrl)
            console.log(this.UIP)
         },
         checkboxChange: function(e) {
             console.log(e.detail.value.length);
             if (e.detail.value.length == 1) {
         
                 //获取缓存的账号
@@ -228,7 +223,6 @@
            var info = plus.push.getClientInfo();
            var cid = info.clientid;
            this.$http.get("/sys/user/saveClientId",{params:{clientId:cid}}).then(res=>{
               console.log("res::saveClientId>",res)
               this.$tip.success('登录成功!')
               this.$Router.replaceAll({name:'index'})
            })