xiongzhu %!s(int64=4) %!d(string=hai) anos
pai
achega
5e308d6b4b

+ 1 - 0
src/main/nine-space/package.json

@@ -19,6 +19,7 @@
         "dayjs": "^1.10.7",
         "echarts": "^4.9.0",
         "element-ui": "^2.15.6",
+        "eruda": "^2.4.1",
         "html2canvas": "^1.3.2",
         "lodash": "^4.17.21",
         "mathjs": "^9.5.1",

+ 2 - 0
src/main/nine-space/public/index.html

@@ -29,4 +29,6 @@
         <div id="app"></div>
         <!-- built files will be auto injected -->
     </body>
+    <script src="https://cdn.bootcdn.net/ajax/libs/eruda/2.4.1/eruda.min.js"></script>
+<script>eruda.init();</script>
 </html>

+ 1 - 1
src/main/nine-space/src/views/Submit.vue

@@ -212,7 +212,7 @@ export default {
                         this.$nextTick(() => {
                             if (this.payType === 'ALIPAY') {
                                 if (this.inWeixin) {
-                                    window.open(resolveUrl(this.$baseUrl, '/payOrder/alipay_wx?id=' + res.id));
+                                    location.href = resolveUrl(this.$baseUrl, '/payOrder/alipay_wx?id=' + res.id);
                                 } else {
                                     this.$http
                                         .get(`/payOrder/${this.inApp ? 'alipay_app' : 'alipay_h5'}?id=${res.id}`)

+ 5 - 0
src/main/nine-space/yarn.lock

@@ -3812,6 +3812,11 @@ error-stack-parser@^2.0.2:
   dependencies:
     stackframe "^1.1.1"
 
+eruda@^2.4.1:
+  version "2.4.1"
+  resolved "https://registry.npm.taobao.org/eruda/download/eruda-2.4.1.tgz#dedc9b78546feb827d6ccafbfd7dae480509d2a2"
+  integrity sha1-3tybeFRv64J9bMr7/X2uSAUJ0qI=
+
 es-abstract@^1.17.2, es-abstract@^1.19.1:
   version "1.19.1"
   resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz"