Parcourir la source

修改数据表删除失败判断条件

cfort il y a 2 ans
Parent
commit
b4a7bba5dc

+ 1 - 1
src/views/platform/bo/boDef/list.vue

@@ -432,7 +432,7 @@ export default {
                 clean: true
                 clean: true
             }).then(response => {
             }).then(response => {
                 const { cause = '' } = response
                 const { cause = '' } = response
-                if (cause && cause.includes('存在关联请先处理关联后再删除!')) {
+                if (cause && cause.includes('请先处理关联后再删除!')) {
                     this.$confirm(cause, '提示', {
                     this.$confirm(cause, '提示', {
                         confirmButtonText: '确定',
                         confirmButtonText: '确定',
                         cancelButtonText: '取消',
                         cancelButtonText: '取消',

+ 0 - 1
src/views/platform/bpmn/bpmAgent/list.vue

@@ -181,7 +181,6 @@ export default {
             this.loading = true
             this.loading = true
             queryPageList(this.getSearcFormData())
             queryPageList(this.getSearcFormData())
                 .then((response) => {
                 .then((response) => {
-                    console.log(response.data)
                     ActionUtils.handleListData(this, response.data)
                     ActionUtils.handleListData(this, response.data)
                     this.loading = false
                     this.loading = false
                 })
                 })