From a1f2bef5d1f65c5d14bb234d36be5f4e7781c88f Mon Sep 17 00:00:00 2001 From: Burt <1020103647@qq.com> Date: Wed, 3 Jan 2024 10:55:45 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=80=E7=82=B9=E5=B0=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.cjs | 1 + .gitignore | 2 -- shims-uni.d.ts | 6 ++---- src/pages.json | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 61964f9..4f538dd 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -81,5 +81,6 @@ module.exports = { getCurrentPages: true, UniHelper: true, Page: true, + App: true, }, } diff --git a/.gitignore b/.gitignore index 1082b58..049995d 100644 --- a/.gitignore +++ b/.gitignore @@ -27,5 +27,3 @@ stats.html auto-import.d.ts # unplugin-vue-components 生成的类型文件 components.d.ts -# vite-plugin-uni-pages 生成的类型文件 -uni-pages.d.ts diff --git a/shims-uni.d.ts b/shims-uni.d.ts index ed4adcf..63180b8 100644 --- a/shims-uni.d.ts +++ b/shims-uni.d.ts @@ -2,9 +2,7 @@ import 'vue' declare module '@vue/runtime-core' { - type Hooks = App.AppInstance & Page.PageInstance; + type Hooks = App.AppInstance & Page.PageInstance - interface ComponentCustomOptions extends Hooks { - - } + interface ComponentCustomOptions extends Hooks {} } diff --git a/src/pages.json b/src/pages.json index 8fd2bd9..3179fc8 100644 --- a/src/pages.json +++ b/src/pages.json @@ -8,7 +8,7 @@ } ], "globalStyle": { - "navigationBarTextStyle": "black", + "navigationBarTextStyle": "white", "navigationBarTitleText": "vue3-uniapp" }, "easycom": {