fix(系统设置): 修复删除插件的提示文案

--bug=1024723 --user=王孝刚
【插件管理】github#23005,【插件管理】删除插件时的提示“删除需重启服务后生效?”应该是个肯定句,而不是问句
https://www.tapd.cn/55049933/s/1354040
This commit is contained in:
wxg0103 2023-03-21 20:03:21 +08:00 committed by fit2-zhao
parent ac76fee1ac
commit 845f96058c
4 changed files with 4 additions and 4 deletions

View File

@ -1373,7 +1373,7 @@ const message = {
title: "Upload jar package",
jar_file: "Jar Package",
jar_manage: "JAR package management",
delete_tip: "The deletion takes effect after the service is restarted",
delete_tip: "Deleting the plug-in requires restarting the service to take effect",
delete_confirm: "Confirm to delete the plugin",
file_exist: "The name already exists in the project",
upload_limit_size: "Upload file size cannot exceed 30MB!",

View File

@ -1330,7 +1330,7 @@ const message = {
title: "上传jar包",
jar_file: "jar包",
jar_manage: "JAR包管理",
delete_tip: "删除需重启服务后生效",
delete_tip: "删除插件需重启服务后生效",
delete_confirm: "确认删除插件",
file_exist: "该项目下已存在该jar包",
upload_limit_size: "上传文件大小不能超过 30MB!",

View File

@ -1329,7 +1329,7 @@ const message = {
title: "上傳jar包",
jar_file: "jar包",
jar_manage: "JAR包管理",
delete_tip: "刪除需重啟服務後生效",
delete_tip: "刪除插件服務後生效",
file_exist: "該項目下已存在該jar包",
delete_confirm: "確認刪除插件",
upload_limit_size: "上傳文件大小不能超過 30MB!",

View File

@ -141,7 +141,7 @@ export default {
this.$refs.scriptView.open(row.scriptId);
},
handleDelete(row) {
let tip = row.scenario !== 'platform' ? this.$t('api_test.jar_config.delete_tip') : this.$t('api_test.jar_config.delete_confirm');
let tip = row.scenario !== 'platform' ? this.$t('api_test.jar_config.delete_tip')+ "" + this.$t('api_test.jar_config.delete_confirm') : this.$t('api_test.jar_config.delete_confirm');
operationConfirm(this, tip, () => {
this.loading = delPluginById(row.scenario || 'api', row.id).then(() => {
this.$success(this.$t('commons.delete_success'));