File tree Expand file tree Collapse file tree
packages/tdesign-uniapp-chat/site/web/plugins/plugin-tdoc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,8 +101,14 @@ jobs:
101101
102102 - run : pnpm install
103103
104+ - run : pnpm run uniapp build:npm
105+
104106 - run : pnpm -C packages/tdesign-uniapp-chat/site run site:preview
105107
108+ - run : |
109+ pnpm -C packages/tdesign-uniapp/example run build:h5 --mode=preview
110+ mv packages/tdesign-uniapp//site/dist/live packages/tdesign-uniapp-chat/site/dist/
111+
106112 - uses : actions/upload-artifact@v4
107113 with :
108114 name : tdesign-uniapp-chat-site
Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ 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 }
25-
2628 return '/uniapp/live' ;
2729}
2830
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ catalog:
138138 stylelint-config-common : 1.0.10
139139 stylelint-config-standard : ^39.0.1
140140 stylelint-less : ^3.0.1
141- t-comm : ^ 3.3.3
141+ t-comm : 3.3.15
142142 tdesign-uniapp-auto-import-resolver : 0.1.3
143143 tinycolor2 : ^1.6.0
144144 tslib : ^2.8.1
You can’t perform that action at this time.
0 commit comments