Browse Source

修改url ios更新

Name 11 months ago
parent
commit
4986fb6145
4 changed files with 6 additions and 6 deletions
  1. 1 1
      cordova/package-lock.json
  2. 2 2
      src/components/detail.vue
  3. 1 1
      src/index.html
  4. 2 2
      src/pages/home.vue

+ 1 - 1
cordova/package-lock.json

@@ -1,6 +1,6 @@
 {
     "name": "io.tranyi.kixScannerPro",
-    "version": "1.0.0",
+    "version": "1.0.2",
     "lockfileVersion": 1,
     "requires": true,
     "dependencies": {

+ 2 - 2
src/components/detail.vue

@@ -60,8 +60,8 @@ export default {
         {"005": "05 大誠美術"}, 
         {"007": "07 辰翊新北"}
       ],
-      url: "http://localhost:4000/scanners/update_shelf"
-      // url: "https://preerp.tranyi.com/scanners/update_shelf",
+      // url: "http://localhost:4000/scanners/update_shelf"
+      url: "https://preerp.tranyi.com/scanners/update_shelf",
     }
   },
   computed: {

+ 1 - 1
src/index.html

@@ -13,7 +13,7 @@
   -->
   <meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover">
-
+  <meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline' 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
   <meta name="theme-color" content="#007aff">
   <meta name="format-detection" content="telephone=no">
   <meta name="msapplication-tap-highlight" content="no">

+ 2 - 2
src/pages/home.vue

@@ -34,8 +34,8 @@ import detail from '../components/detail'
 export default {
   data () {
     return {
-      url: "http://localhost:4000/scanners",
-      // url: "https://preerp.tranyi.com/scanners",
+      // url: "http://localhost:4000/scanners",
+      url: "https://preerp.tranyi.com/scanners",
       current_product: '',
       sku_text: '',
       condition: '',