SanHQin 3 months ago
parent
commit
aae102dd57

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.a03750a5be2c470998bc52e1d0190fd9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.c046dd5e92c8da101466.js></script><script type=text/javascript src=./static/js/app.185898037fcd60eecab1.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.d4129386c1e3827b2cd8da4fcf7f5bd4.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.c046dd5e92c8da101466.js></script><script type=text/javascript src=./static/js/app.96e334a2da6400ca8da8.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.d4129386c1e3827b2cd8da4fcf7f5bd4.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.d4129386c1e3827b2cd8da4fcf7f5bd4.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.96e334a2da6400ca8da8.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.96e334a2da6400ca8da8.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


+ 6 - 5
src/components/pages/appStore/dialog/addAppDialog.vue

@@ -253,12 +253,13 @@ export default {
       };
     },
     region(){
-      let _result = 'cn';
-      let region = this.$route.query["region"];
-      _result = region?region:'cn';
-
+      let _result = "cn";
+      let query = this.$route.query["region"]
+      if(query && (query == "cn" || query == "hk" || query == "all")){
+        _result = query;
+      }
       return _result;
-    },
+    }
   },
   methods: {
     open(data) {

+ 10 - 1
src/components/pages/appStore/dialog/selectAppDialog.vue

@@ -86,7 +86,6 @@ export default {
       userId: this.$route.query["userid"],
       org: this.$route.query["org"],
       oid: this.$route.query["oid"],
-      region:this.$route.query["region"],
       dataList:[],
     };
   },
@@ -100,6 +99,16 @@ export default {
       }
     }
   },
+  computed:{
+    region(){
+      let _result = "cn";
+      let query = this.$route.query["region"]
+      if(query && (query == "cn" || query == "hk" || query == "all")){
+        _result = query;
+      }
+      return _result;
+    }
+  },
   methods: {
     open() {
       this.dataList = [];

+ 9 - 18
src/components/pages/appStore/views/appManagement.vue

@@ -785,27 +785,10 @@ export default {
       editAppCard: null,
       bannerObj: null,
       userName: null,
-      region:this.$route.query["region"]
+      // region:this.$route.query["region"]
     };
   },
   computed: {
-    isImageOrSvg() {
-      return value => {
-        let _result = 0; //啥也不是
-        if (value) {
-          const svgPattern = /<svg.*<\/svg>/;
-          const imagePattern = /\.(jpeg|jpg|gif|png|svg|bmp|webp)$/i; // 图片链接的正则表达式
-          const urlPattern = /^(http|https):\/\/[^ "]+$/; // 网络地址的正则表达式
-
-          if (svgPattern.test(value)) {
-            _result = 1;
-          } else if (urlPattern.test(value) && imagePattern.test(value)) {
-            _result = 2;
-          }
-        }
-        return _result;
-      };
-    },
     showMenu() {
       return data => {
         let _result = false;
@@ -819,6 +802,14 @@ export default {
         }
         return _result;
       };
+    },
+    region(){
+      let _result = "cn";
+      let query = this.$route.query["region"]
+      if(query && (query == "cn" || query == "hk" || query == "all")){
+        _result = query;
+      }
+      return _result;
     }
   },
   watch: {

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