diff --git a/src/views/scriptManage/detail/index.vue b/src/views/scriptManage/detail/index.vue index 408c3559b..e4d1cc7b2 100644 --- a/src/views/scriptManage/detail/index.vue +++ b/src/views/scriptManage/detail/index.vue @@ -121,9 +121,9 @@ export default { }, deleteScript() { const data=this.formModel; - this.$confirm(this.$t('scriptRecord.deleteScriptTip'), this.$t('scriptRecord.operateTip'), { - confirmButtonText: this.$t('scriptRecord.confirmButtonText'), - cancelButtonText: this.$t('scriptRecord.cancelButtonText'), + this.$confirm(this.$t('scriptRecord.deleteScriptTip'), this.$t('global.tips'), { + confirmButtonText: this.$t('global.confirm'), + cancelButtonText: this.$t('global.cancel'), type: 'warning' }).then(() => { deleteQuest(data.id).then(response => {