Explorar el Código

feat: 优化-2024/12/31 13:54:27

shuisheng hace 1 año
padre
commit
4c90df69e6
Se han modificado 4 ficheros con 4 adiciones y 6 borrados
  1. 1 0
      deploy/deploy.json
  2. 1 1
      deploy/handleGiteeJenkins.mjs
  3. 1 5
      package.json
  4. 1 0
      src/components/QrPay/index.vue

+ 1 - 0
deploy/deploy.json

@@ -0,0 +1 @@
+{"name":"billd-live","version":"0.1.0","buildDate":"2024/12/31 13:54:27"}

+ 1 - 1
deploy/handleGiteeJenkins.mjs

@@ -81,8 +81,8 @@ if (process.cwd().indexOf('jenkins') !== -1) {
     const gitignoreTxt =
       'node_modules\ndist\ncomponents.d.ts\n.eslintcache\n.DS_Store\n';
     fs.writeFileSync(path.resolve(giteeDir, './.gitignore'), gitignoreTxt);
-    execSync(`git rm -r --cached .`, { cwd: giteeDir });
     execSync(`pnpm i`, { cwd: giteeDir });
+    execSync(`git rm -r --cached .`, { cwd: giteeDir });
     execSync(`git add .`, { cwd: giteeDir });
     execSync(`git commit -m 'feat: ${new Date().toLocaleString()}'`, {
       cwd: giteeDir,

+ 1 - 5
package.json

@@ -35,11 +35,7 @@
     "release": "standard-version",
     "sync-repo": "ts-node ./deploy/handleSyncPublic.mjs"
   },
-  "config": {
-    "commitizen": {
-      "path": "./node_modules/cz-conventional-changelog"
-    }
-  },
+  "config": {},
   "dependencies": {},
   "devDependencies": {
     "@eslint/js": "^9.10.0",

+ 1 - 0
src/components/QrPay/index.vue

@@ -163,6 +163,7 @@ async function handleStartPay() {
     });
     if (res.code === 200) {
       if (isMobile()) {
+        console.log(res.data.qr_code);
         hrefToTarget(res.data.qr_code);
         return;
       }