Fix:[#3143]【商城小程序】供应商入驻资料填写页面—未填写营业时间也可以提交

This commit is contained in:
modendeveloper
2025-01-23 01:08:05 +08:00
parent 3f22aa26b7
commit 3a66811a52
2 changed files with 20 additions and 7 deletions
+3 -2
View File
@@ -87,7 +87,7 @@ export default {
components: {
uniPopup
},
props: ["callback", "items", "defaultValue"],
props: ["callback", "items", "defaultValue", 'disabled'],
data() {
return {
value: "请选择",
@@ -107,7 +107,7 @@ export default {
},
defaultValue(newValue) {
this.value = newValue;
// this.adjustDefaultValue();
this.adjustDefaultValue();
}
},
mounted() {
@@ -147,6 +147,7 @@ export default {
return idx;
},
open() {
if(this.disabled) return;
if (this.$refs.popup.showPopup) {
this.$refs.popup.close();
return;