#
whycq
2022-02-23 8edcbd986b0fee1e7d94fcfd69e619d4ab58ded2
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) {