fix(项目设置): 版本状态列提示问题

--bug=1027550 --user=宋昌昌 【项目设置】github #25348-更多选项-版本管理:点击状态列启用、禁用提示“保存成功”建议修改为启用成功、禁用成功 https://www.tapd.cn/55049933/s/1392683
This commit is contained in:
song-cc-rock 2023-07-13 10:49:49 +08:00 committed by 刘瑞斌
parent 17b0339002
commit 302c987207
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ export default {
changeSwitch(row) { changeSwitch(row) {
changeStatus(row) changeStatus(row)
.then(response => { .then(response => {
this.$success(this.$t('commons.save_success')); this.$success(row.status === 'open' ? this.$t('commons.enable_success') : this.$t('commons.disable_success'));
}); });
}, },
changeLatest(row) { changeLatest(row) {