sunChengjie 11 months ago
parent
commit
cb8bd5d30e
2 changed files with 2 additions and 1 deletions
  1. 2 0
      src/pages/new/storage.vue
  2. 0 1
      src/script/common.js

+ 2 - 0
src/pages/new/storage.vue

@@ -251,6 +251,8 @@ export default {
 
             } else if (res.msg == 'already') {
                 this.$toast('该账号已添加过')
+            } else if (res.msg == 'PermissionControl') {
+                this.$toast('不在揽收范围')
             } else if (res.code == 444) {
                 this.$toast(res.error)
             }

+ 0 - 1
src/script/common.js

@@ -2,7 +2,6 @@ export default {
 	install(Vue) {
 		Vue.prototype.getOpenid = function (page) {
 			var host = 'http://47.101.145.23/tianzong';
-			// var host = 'http://192.168.31.47:8080/tianzong';
 			if (localStorage.getItem("openid") != 'undefined' && localStorage.getItem("openid") != null)
 				return;
 			var code = this.getUrlParam("code");