pages/index/detail.vue
@@ -133,7 +133,7 @@ } }, clickDelete() { showModal(`确定要删除设备“${ this.vehicleInfo.name}”吗`, "警告").then((res) => { showModal(`确定要删除设备“${ this.vehicleInfo.name}”吗`, "警告",true,"确定","取消").then((res) => { if (res) { const eventChannel = this.getOpenerEventChannel(); eventChannel.emit('delete_vehicle', this.vehicleInfo); @@ -169,7 +169,7 @@ if (exStr == "{}") exStr = ex let tip = typeof ex.msg == "string" ? ex.msg : exStr showModal(tip, "错误", false) showModal(tip, "错误", false,"确定") }, }