fix(项目设置): 提示问题汇总
--bug=1027544 --user=宋昌昌 【项目设置】github#25343-项目环境:创建环境-证书配置,点击上传文件选择大于50M的文件提示英文信息 https://www.tapd.cn/55049933/s/1389349 --bug=1027550 --user=宋昌昌 【项目设置】github #25348-更多选项-版本管理:点击状态列启用、禁用提示“保存成功”建议修改为启用成功、禁用成功 https://www.tapd.cn/55049933/s/1389348 --bug=1027543 --user=宋昌昌 [接口测试] github#25342环境配置-数据库配置。什么都不填直接点校验,提示信息不明确 https://www.tapd.cn/55049933/s/1389368
This commit is contained in:
parent
6909e093b8
commit
ea19176cd4
|
@ -142,9 +142,15 @@ export default {
|
|||
this.currentConfig = new DatabaseConfig();
|
||||
},
|
||||
validate() {
|
||||
this.result = databaseValidate(this.currentConfig).then(() => {
|
||||
this.$success(this.$t('commons.connection_successful'));
|
||||
})
|
||||
this.$refs['databaseFrom'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.result = databaseValidate(this.currentConfig).then(() => {
|
||||
this.$success(this.$t('commons.connection_successful'));
|
||||
})
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
},
|
||||
driverChange(type){
|
||||
this.currentConfig.dbUrl = "";
|
||||
|
|
|
@ -83,6 +83,8 @@ const message = {
|
|||
save_as: "Save as",
|
||||
update: "Update",
|
||||
save_success: "Saved successfully",
|
||||
enable_success: "Enable successfully",
|
||||
disable_success: "Disable successfully",
|
||||
add_success: "Add successfully",
|
||||
cancel_add_success: "Cancel successfully",
|
||||
recover_success: "Recover successfully",
|
||||
|
@ -3657,6 +3659,9 @@ const message = {
|
|||
to_try: "Go to try it",
|
||||
view_video: "View video tutorial",
|
||||
},
|
||||
jar_config: {
|
||||
upload_limit_size: "Upload file size cannot exceed 50MB!",
|
||||
}
|
||||
};
|
||||
|
||||
export default {
|
||||
|
|
|
@ -81,6 +81,8 @@ const message = {
|
|||
save_as: "另存为",
|
||||
update: "更新",
|
||||
save_success: "保存成功",
|
||||
enable_success: "启用成功",
|
||||
disable_success: "禁用成功",
|
||||
add_success: "添加成功",
|
||||
cancel_add_success: "取消添加成功",
|
||||
recover_success: "恢复成功",
|
||||
|
@ -3530,6 +3532,9 @@ const message = {
|
|||
to_try: "去完成",
|
||||
view_video: "观看视频教程",
|
||||
},
|
||||
jar_config: {
|
||||
upload_limit_size: "上传文件大小不能超过 50MB!",
|
||||
}
|
||||
};
|
||||
|
||||
export default {
|
||||
|
|
|
@ -81,6 +81,8 @@ const message = {
|
|||
save_as: "另存為",
|
||||
update: "更新",
|
||||
save_success: "保存成功",
|
||||
enable_success: "啓用成功",
|
||||
disable_success: "禁用成功",
|
||||
add_success: "添加成功",
|
||||
cancel_add_success: "取消添加成功",
|
||||
recover_success: "恢復成功",
|
||||
|
@ -3527,6 +3529,9 @@ const message = {
|
|||
to_try: "去完成",
|
||||
view_video: "觀看視頻教程",
|
||||
},
|
||||
jar_config: {
|
||||
upload_limit_size: "上传文件大小不能超过 50MB!",
|
||||
}
|
||||
};
|
||||
|
||||
export default {
|
||||
|
|
|
@ -305,7 +305,7 @@ export default {
|
|||
}
|
||||
changeLatest(row)
|
||||
.then(response => {
|
||||
this.$success(this.$t('commons.save_success'));
|
||||
this.$success(row.latest ? this.$t('commons.enable_success') : this.$t('commons.disable_success'));
|
||||
});
|
||||
},
|
||||
save(create) {
|
||||
|
|
Loading…
Reference in New Issue