提交一下

This commit is contained in:
aixianling
2023-04-04 09:41:48 +08:00
parent 5cfc275876
commit 9dbc8bccf3

View File

@@ -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) {