File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,8 @@ const toggleTheme = (event: MouseEvent) => {
348348 <div class =" dropdown-app hand" v-for =" app in level1.children.filter(lv => !lv.hide)" :key =" app.title" >
349349 <a
350350 class =" dropdown-app"
351- :href =" app.href"
351+ :href =" app.href"
352+ :target =" app.target || _self"
352353 rel =" noopener noreferrer"
353354 @click =" app.onClick ? app.onClick($event) : null"
354355 >
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import tinyRobot from '../assets/appIcon/tiny-robot.svg'
99import tinyEditor from '../assets/appIcon/tiny-editor.svg'
1010import GenuiSdk from '../assets/appIcon/genui-sdk.svg'
1111import sketch from '../../../home/public/images/logo-sketch.svg'
12+ import gitcodeLogo from '../assets/appIcon/gitcode-logo.svg'
1213import { createIsUnderline , downloadFile } from './common.ts'
1314
1415const isGitHubBuild = import . meta. env . MODE === 'github'
@@ -199,6 +200,13 @@ const menuItems = [
199200 event . preventDefault ( ) ;
200201 downloadFile ( `${ import . meta. env . VITE_BASE } opentiny-design/downloadFile/TinyVue3.0_UI.KIT_202508.sketch` , 'TinyVue3.0_UI.KIT_202508.sketch' )
201202 }
203+ } ,
204+ {
205+ title : 'GitCode 源码仓库' ,
206+ desc : '国内代码仓库,访问速度更快' ,
207+ href : 'https://gitcode.com/opentiny' ,
208+ logo : gitcodeLogo ,
209+ target : '_blank'
202210 }
203211 ]
204212 }
You can’t perform that action at this time.
0 commit comments