#
whycq
2022-02-24 c8dc3d4f33e7548e2d02ba14e9cb770afda5df2b
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,9 +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) {
@@ -173,6 +174,7 @@
               return;
            }
            uni.showLoading();
            console.log(this.baseIP)
            uni.request({
                url: this.baseHttp + this.baseIP + this.baseUrl + '/login.action',
                data: {