浏览代码

自测bug修复

刘洋 9 月之前
父节点
当前提交
c5fdb66f6a
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      package.json
  2. 0 2
      src/render/components.d.ts
  3. 2 0
      src/render/views/Login/index.vue

+ 2 - 2
package.json

@@ -6,7 +6,7 @@
   "scripts": {
     "start": "npm run dev",
     "dev": "node build/start.js",
-    "builder": "npm run build:vite && cross-env-shell IS_BUILDER=builder npm run build:main && electron-builder --config=./builder.json",
+    "builder": "npm run build && cross-env-shell IS_BUILDER=builder npm run build:main && electron-builder --config=./builder.json",
     "dev:main": "node build/dev.js",
     "build:main": "node build/build.js",
     "dev:vite": "vite --mode development",
@@ -74,4 +74,4 @@
     "webpack-cli": "^5.1.4",
     "webpack-dev-server": "^4.15.1"
   }
-}
+}

+ 0 - 2
src/render/components.d.ts

@@ -20,7 +20,6 @@ declare module 'vue' {
     AFormItem: typeof import('@qmth/ui')['FormItem']
     AInput: typeof import('@qmth/ui')['Input']
     AInputNumber: typeof import('@qmth/ui')['InputNumber']
-    AInputPassword: typeof import('@qmth/ui')['InputPassword']
     AModal: typeof import('@qmth/ui')['Modal']
     APagination: typeof import('@qmth/ui')['Pagination']
     AProgress: typeof import('@qmth/ui')['Progress']
@@ -38,7 +37,6 @@ declare module 'vue' {
     ATabs: typeof import('@qmth/ui')['Tabs']
     ATag: typeof import('@qmth/ui')['Tag']
     ATextarea: typeof import('@qmth/ui')['Textarea']
-    ATypographyText: typeof import('@qmth/ui')['TypographyText']
     AUpload: typeof import('@qmth/ui')['Upload']
     QmButton: typeof import('@qmth/ui')['QmButton']
     QmConfigProvider: typeof import('@qmth/ui')['QmConfigProvider']

+ 2 - 0
src/render/views/Login/index.vue

@@ -50,6 +50,8 @@ const checkEnvHandle = () => {
     })
     .catch(() => {
       local.remove("baseUrl");
+      envCheckLoading.value = false;
+      curStepIndex.value = 0;
     });
 };
 const willClose = () => {