File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1830,8 +1830,8 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio
18301830 setWallpaper ( ) {
18311831 let bgimg = ''
18321832 if ( this . box . usercfgs . bgimg === '跟随系统' ) {
1833- const hasdark = this . bgimgs . find ( ( bgimg ) => bgimg . name == 'dark' )
1834- const haslight = this . bgimgs . find ( ( bgimg ) => bgimg . name == 'light' )
1833+ const hasdark = this . bgimgs . find ( ( bgimg ) => bgimg . name == '暗黑' || bgimg . name == ' dark')
1834+ const haslight = this . bgimgs . find ( ( bgimg ) => bgimg . name == '明亮' || bgimg . name == ' light')
18351835 const darkbgimg = hasdark ? hasdark . url : ``
18361836 const lightbgimg = haslight ? haslight . url : ``
18371837 this . isDarkMode ? ( bgimg = darkbgimg ) : ( bgimg = lightbgimg )
Original file line number Diff line number Diff line change 11{
22 "releases" : [
3+ {
4+ "version" : " 0.7.53" ,
5+ "tags" : [" beta" ],
6+ "author" : " @GideonSenku" ,
7+ "icon" : " https://avatars3.githubusercontent.com/u/29748519" ,
8+ "repo" : " https://github.com/chavyleung" ,
9+ "msg" : " 更新[BoxJs TF]: 跟随系统壁纸设置同时支持中英文" ,
10+ "notes" : [
11+ {
12+ "name" : " 新增" ,
13+ "descs" : [" 跟随系统壁纸设置支持中英文,且优先考虑中文关键字" ]
14+ },
15+ {
16+ "name" : " 说明" ,
17+ "descs" : [" 中文关键字为`暗黑`和`明亮`,英文关键字不变" ]
18+ }
19+ ]
20+ },
321 {
422 "version" : " 0.7.52" ,
523 "tags" : [" beta" ],
You can’t perform that action at this time.
0 commit comments