From f3aeec3a9e88904bef73e28dcfed679dada7ed01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Tue, 2 Apr 2024 20:46:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?refine:=20about=20=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/about.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/index/about.vue b/src/pages/index/about.vue index 7f11371..9b6071c 100644 --- a/src/pages/index/about.vue +++ b/src/pages/index/about.vue @@ -24,8 +24,8 @@ 当前平台是: {{ PLATFORM.platform }} - 测试设计稿样式 - 设计稿是750px,css里面全部写rpx 即可 + 设计稿样式编写: + 设计稿是750px,css里面全部写rpx 即可 @@ -40,6 +40,6 @@ console.log(PLATFORM) From 1bc536eecc312c79de0ecfa9d82c7ab617a54807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Tue, 2 Apr 2024 20:51:53 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20ts=20=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index c8d8fa0..e112115 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "outDir": "dist", "lib": ["esnext", "dom"], "types": [ - "vite-env.d.ts", + "./vite-env.d.ts", "@dcloudio/types", "@types/wechat-miniprogram", "@uni-helper/uni-app-types", From 44c0a5ec2b360c8d024ab8c57dbeac775cf2341e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Tue, 2 Apr 2024 21:31:24 +0800 Subject: [PATCH 3/3] chore: delete useless file --- tsconfig.json | 1 - vite-env.d.ts | 15 --------------- 2 files changed, 16 deletions(-) delete mode 100644 vite-env.d.ts diff --git a/tsconfig.json b/tsconfig.json index e112115..9530da84 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,6 @@ "outDir": "dist", "lib": ["esnext", "dom"], "types": [ - "./vite-env.d.ts", "@dcloudio/types", "@types/wechat-miniprogram", "@uni-helper/uni-app-types", diff --git a/vite-env.d.ts b/vite-env.d.ts deleted file mode 100644 index ff5515b..0000000 --- a/vite-env.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -// 全局自定义参数 -declare const __UNI_PLATFORM__: - | 'h5' - | 'app' - | 'mp-alipay' - | 'mp-baidu' - | 'mp-jd' - | 'mp-kuaishou' - | 'mp-lark' - | 'mp-qq' - | 'mp-toutiao' - | 'mp-weixin' - | 'quickapp-webview' - | 'quickapp-webview-huawei' - | 'quickapp-webview-union'