#
whycq
2022-02-26 5df158f54eb0c7e0e0ba79eb172aaba42735a221
pages/login/login.vue
@@ -113,6 +113,7 @@
         const UIP = uni.getStorageSync('UIP');
            if (UIP) {
             that.IP = UIP;
            that.baseIP = UIP;
            } else {
             that.IP = '';
            }
@@ -148,10 +149,9 @@
            this.$refs.inputDialog.open()
         },
         dialogInputConfirm(type){
            this.UIP = type
            uni.setStorageSync('UIP',type)
            this.baseIP = type
            // 存入本地缓存
            uni.setStorageSync('UIP',this.baseIP)
            },
         checkboxChange: function(e) {
             if (e.detail.value.length == 1) {
@@ -174,7 +174,6 @@
               return;
            }
            uni.showLoading();
            console.log(this.baseIP)
            uni.request({
                url: this.baseHttp + this.baseIP + this.baseUrl + '/login.action',
                data: {