💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` confirmDelete(path, this.getTreeAndTableData, ids.split(",")) //删除确定 export function confirmDelete(path, callback, params) { Vue.prototype.$confirm("此操作将永久删除该数据, 是否继续?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => { Vue.prototype.$delete(path, params).then(response => { responseMsg(response.success, "删除", callback) }) }).catch(() => { }) } ```