@ledvance/group-ui-biz-bundle 1.0.42 → 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/group-ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.0.42",
7
+ "version": "1.0.43",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -48,6 +48,7 @@ const MusicPage = () => {
48
48
  if(workMode !== WorkMode.Music) state.musicData.lastWorkMode = workMode
49
49
  state.musicData.musicSwitch = true
50
50
  if (params.dreamMusicDp && state.musicData.musicType === 0){
51
+ MusicManager.close()
51
52
  setMusicData(cloneDeep(state.musicData))
52
53
  }else{
53
54
  setMusicData({
@@ -114,12 +115,12 @@ const MusicPage = () => {
114
115
  type='radio'
115
116
  tabs={musicTabs}
116
117
  style={{ borderRadius: cx(8), backgroundColor: '#f6f6f6', height: cx(36) }}
117
- tabTextStyle={{ color: '#000' }}
118
- tabActiveTextStyle={{ color: '#000', fontWeight: 'bold' }}
118
+ tabTextStyle={{ color: '#000', fontSize: cx(14) }}
119
+ tabActiveTextStyle={{ color: '#000', fontSize: cx(14), fontWeight: 'bold' }}
119
120
  activeKey={state.musicData.musicType}
120
121
  onChange={async (v) => {
121
122
  state.musicData.musicType = Number(v)
122
- if(state.musicData.musicSwitch) openMusic()
123
+ if(state.musicData.musicSwitch && workMode === WorkMode.Music) openMusic()
123
124
  }}
124
125
  />}
125
126
  <Spacer />