多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` 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(() => { }) } ```