提交一下
This commit is contained in:
@@ -56,12 +56,12 @@ export default {
|
||||
})
|
||||
},
|
||||
handleAdd(tableName) {
|
||||
tableName = tableName.split(":").at(-1)
|
||||
tableName = tableName?.split(":").at(-1)
|
||||
this.$router.push({hash: "#add", query: {tableName}})
|
||||
},
|
||||
@confirm("是否要删除该模型?")
|
||||
handleDelete(tableName) {
|
||||
this.instance.post("/relation/remove", null, {
|
||||
this.instance.post("/app/appdatamodelconfig/delete", null, {
|
||||
params: {tableName}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user