#
whycq
2022-12-12 d914583bf377465079724477bbb118e54b2f7082
pages/login/login.vue
@@ -48,14 +48,15 @@
         }
      },
      onLoad:function(){
         this.user.userName = uni.getStorageSync('userName')
         // #ifdef APP-PLUS
         var that=this
         plus.runtime.getProperty( plus.runtime.appid, function ( wgtinfo ) {
            that.version=wgtinfo.version
         });
         // #endif
         let that = this
         that.user.userName = uni.getStorageSync('userName')
      },
      methods: {
         changePassword: function() {
@@ -64,7 +65,7 @@
         onLogin() {
            let that = this
            uni.request({
               url: 'http://127.0.0.1:9528/login.action',
               url: 'http://localhost:9528/login.action',
               fail(result) {
                  uni.showToast({title: '请求失败'})
               },