NEZ-601 perf: endpoint-detail和add-chart-by-template

This commit is contained in:
chenjinsong
2021-05-20 16:27:46 +08:00
parent 9488eef644
commit 9ff0686fc8
8 changed files with 79 additions and 238 deletions

View File

@@ -292,7 +292,7 @@ export default {
cancelButtonText: this.$t('tip.no'),
type: 'warning'
}).then(() => {
this.$delete(this.url + '?ids=' + row.id + '&state=3').then(response => {
this.$delete(this.url + '?ids=' + row.id + '&state=' + this.state).then(response => {
if (response.code === 200) {
self.delFlag = true
this.$message({ duration: 2000, type: 'success', message: this.$t('tip.deleteSuccess') })