Merge branch 'dev-3.4' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.4

This commit is contained in:
likexuan
2022-07-11 10:10:33 +08:00
36 changed files with 471 additions and 236 deletions

View File

@@ -935,7 +935,7 @@ export default {
this.$put('monitor/module', params).then(response => {
if (response.code === 200) {
// this.$message({ duration: 1000, type: 'success', message: this.$t('tip.saveSuccess') })
this.messageShow(this.$t('tip.saveSuccess'), '/endpoint', { projectId: this.editModule.projectId, moduleId: response.data.id }, false, 'guide.addEndpoint')
this.messageShow(this.$t('tip.saveSuccess'), '/endpoint', { projectId: this.editModule.projectId, moduleId: response.data.id }, false, 'tip.endpoint')
this.$store.commit('setReloadFacade')
this.esc(true)
} else {
@@ -946,7 +946,7 @@ export default {
} else {
this.$post('monitor/module', params).then(response => {
if (response.code === 200) {
this.messageShow(this.$t('tip.saveSuccess'), '/endpoint', { projectId: this.editModule.projectId, moduleId: response.data.id }, true, 'guide.addEndpoint')
this.messageShow(this.$t('tip.saveSuccess'), '/endpoint', { projectId: this.editModule.projectId, moduleId: response.data.id }, true, 'tip.endpoint')
this.$store.commit('setReloadFacade')
this.esc(true)
} else {