File tree 5 files changed +5
-5
lines changed
taro-h5/src/api/base/weapp
taro-platform-harmony/src/program
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 35
35
"eslint" : " ^8" ,
36
36
"eslint-plugin-react" : " ^7.33.2" ,
37
37
"eslint-plugin-react-hooks" : " ^4.4.0" ,
38
- "eslint-plugin-vue" : " ^9.17 .0"
38
+ "eslint-plugin-vue" : " ^8.0 .0"
39
39
},
40
40
"peerDependenciesMeta" : {
41
41
"eslint-plugin-react" : {
Original file line number Diff line number Diff line change 50
50
"@tarojs/runtime" : " workspace:*" ,
51
51
"@tarojs/runner-utils" : " workspace:*" ,
52
52
"@tarojs/shared" : " workspace:*" ,
53
- "@vitejs/plugin-vue" : " ^5 " ,
53
+ "@vitejs/plugin-vue" : " ^4 " ,
54
54
"@vitejs/plugin-vue-jsx" : " ^3" ,
55
55
"vue-loader" : " ^17.0.0" ,
56
56
"vite" : " ^4" ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const unhandledRejectionListener = (res: PromiseRejectionEvent) => {
19
19
let themeMatchMedia : MediaQueryList | null = null
20
20
const themeChangeListener = ( res : MediaQueryListEvent ) => {
21
21
themeChangeCallbackManager . trigger ( {
22
- theme : res . matches ? 'dark ' : 'light '
22
+ theme : res . matches ? 'light ' : 'dark '
23
23
} )
24
24
}
25
25
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ export default class Harmony extends TaroPlatformHarmony {
266
266
define . global = 'globalThis'
267
267
}
268
268
const ext = path . extname ( target )
269
- if ( ! [ / d \. e ? t s x ? $ / , / \. ( j s o n | m a p | m d ) $ / ] . some ( e => e . test ( target ) ) ) {
269
+ if ( ! [ / \. d \. e ? t s x ? $ / , / \. ( j s o n | m a p | m d ) $ / ] . some ( e => e . test ( target ) ) ) {
270
270
code = this . replaceDefineValue ( code , define , ext )
271
271
}
272
272
if ( [ '.ts' ] . includes ( ext ) ) {
Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ declare module './index' {
581
581
desc : string
582
582
/** 在该场景下打开小程序时跳转页面 */
583
583
path : string
584
- }
584
+ } [ ]
585
585
/** 定制化型服务商票据 */
586
586
serviceProviderTicket ?: string
587
587
/** 半屏小程序 appId */
You can’t perform that action at this time.
0 commit comments