Browse Source

Merge branch 'master' of git.oschina.net:yiguanjia/php

north 6 years ago
parent
commit
e9625f5264

File diff suppressed because it is too large
+ 0 - 0
www/webapp/housekeeping/asset/css/app.css


File diff suppressed because it is too large
+ 0 - 0
www/webapp/housekeeping/asset/js/app.js


File diff suppressed because it is too large
+ 0 - 0
www/webapp/housekeeping/asset/js/app.js.map


File diff suppressed because it is too large
+ 0 - 0
www/webapp/housekeeping/asset/js/manifest.js.map


+ 10 - 0
www/webapp/housekeeping/src/components/exchange/exchange.vue

@@ -183,7 +183,17 @@ export default {
       if (self.user.address == null) {
         weui.alert('地址不能为空!');
         return;
+      } else if (self.user.address.length < 7) {
+        weui.alert('请填写完整地址,包括区/县信息!');
+        return;
+      } else if (self.user.address.indexOf('区')) {
+        weui.alert('请填写完整地址,包括区/县信息!');
+        return;
       }
+      /* if (self.user.address && self.user.address.indexOf('区')) {
+        weui.alert('请填写完整地址,包括区/县信息!');
+        return;
+      } */
       // 验证兑换码
       if (self.code.pwd == null) {
         weui.alert('请输入兑换券上的兑换码!');

Some files were not shown because too many files changed in this diff