ソースを参照

:up: 升级avue-form-design 、vue-qrcode 版本

冷冷 5 年 前
コミット
badb4f332e
2 ファイル変更5 行追加4 行削除
  1. 2 2
      package.json
  2. 3 2
      src/views/pay/cd/index.vue

+ 2 - 2
package.json

@@ -9,8 +9,8 @@
     "lint": "vue-cli-service lint"
   },
   "dependencies": {
-    "@xkeshi/vue-qrcode": "^1.0.0",
-    "avue-plugin-formdesign": "^1.0.1",
+    "@chenfengyuan/vue-qrcode": "^1.0.1",
+    "avue-plugin-formdesign": "^1.0rm.2",
     "avue-plugin-ueditor": "^0.0.6",
     "axios": "^0.18.0",
     "babel-polyfill": "^6.26.0",

+ 3 - 2
src/views/pay/cd/index.vue

@@ -32,7 +32,7 @@
 </style>
 
 <script>
-import VueQrcode from '@xkeshi/vue-qrcode'
+import VueQrcode from '@chenfengyuan/vue-qrcode'
 
 const protocol = window.location.protocol
 const host = window.location.host
@@ -46,7 +46,8 @@ export default {
       amount: '1',
       msg: '',
       options: {
-        size: 300
+        height: 300,
+        width: 300
       }
     }
   },