File tree Expand file tree Collapse file tree
site/web/plugins/plugin-tdoc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474
7575 - run : pnpm install
7676
77+ - run : pnpm run uniapp build:npm
78+
7779 - run : pnpm -C packages/tdesign-uniapp/site run site:preview
7880
81+ - run : pnpm -C packages/tdesign-uniapp/example run build:h5 --mode=preview
82+
7983 - uses : actions/upload-artifact@v4
8084 with :
8185 name : tdesign-uniapp-site
Original file line number Diff line number Diff line change 1+ VUE_APP_PUBLICPATH = /live
Original file line number Diff line number Diff line change @@ -19,8 +19,11 @@ const DEFAULT_EN_TABS = [
1919] ;
2020
2121function getMobilePrefix ( mode ) {
22+ if ( mode === 'production' ) {
23+ return 'https://static.tdesign.tencent.com/uniapp/live' ;
24+ }
2225 if ( mode === 'preview' ) {
23- return 'https://tdesign.tencent.com/uniapp/live ' ;
26+ return '/live/index.html ' ;
2427 }
2528 // 开发环境使用相对路径,通过站点服务的代理访问
2629 return '/uniapp/live' ;
You can’t perform that action at this time.
0 commit comments