提交 7e20ba05 authored 作者: JaxBBLL's avatar JaxBBLL

fix: bugs

上级 153de0df
......@@ -102,6 +102,14 @@ export default {
},
// 确认
handleConfirm() {
if(!this.summary || !this.summary.toString().trim()) {
uni.showToast({
title: "不能为空",
icon: "none",
duration: 2000,
});
return;
}
this.$emit("confirm", this.summary); // 将情况摘要回传给父组件
this.handleClose();
},
......
......@@ -8,6 +8,7 @@ export default {
setNormal() {
this.itemData.detail.forEach((item) => {
item.inspectionResult = 0;
item.inspectionResultLable = '正常'
});
console.log("this.isQt", this.isQt);
if (!this.isQt) {
......
......@@ -80,6 +80,14 @@ export default {
},
// 确认
handleConfirm() {
if(!this.summary || !this.summary.toString().trim()) {
uni.showToast({
title: "不能为空",
icon: "none",
duration: 2000,
});
return;
}
this.$emit("confirm", this.summary); // 将情况摘要回传给父组件
this.handleClose();
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论