修复更新弹窗历史版本描述多余的换行问题
parent
2d5848db94
commit
b8d07b365b
|
@ -1,3 +1,3 @@
|
||||||
### 修复
|
### 修复
|
||||||
|
|
||||||
- 修复列表多选音源限制Bug
|
- 修复更新弹窗历史版本描述多余的换行问题
|
||||||
|
|
|
@ -127,7 +127,7 @@ export default {
|
||||||
h3 {
|
h3 {
|
||||||
padding: 5px 0 3px;
|
padding: 5px 0 3px;
|
||||||
}
|
}
|
||||||
padding-left: 15px;
|
padding: 0 15px;
|
||||||
+ .item {
|
+ .item {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,9 +13,9 @@ export default {
|
||||||
if (source != null) state.setting.leaderboard.source = source
|
if (source != null) state.setting.leaderboard.source = source
|
||||||
},
|
},
|
||||||
setNewVersion(state, val) {
|
setNewVersion(state, val) {
|
||||||
val.history.forEach(ver => {
|
// val.history.forEach(ver => {
|
||||||
ver.desc = ver.desc.replace(/\n/g, '<br>')
|
// ver.desc = ver.desc.replace(/\n/g, '<br>')
|
||||||
})
|
// })
|
||||||
// val.desc = val.desc.replace(/\n/g, '<br>')
|
// val.desc = val.desc.replace(/\n/g, '<br>')
|
||||||
state.version.newVersion = val
|
state.version.newVersion = val
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue