Commit 1ee4bb3b authored by Facius's avatar Facius

feat: 店铺输入值缺少时提示

parent bde34908
Pipeline #3965 canceled with stages
......@@ -29,7 +29,7 @@
</view>
</view>
</view>
<u-toast ref="uToast" />
</u-popup>
</template>
......@@ -126,6 +126,14 @@ export default {
},
checkValue () {
for (var item in this.infoKeys) {
this.$refs.uToast.show({
title: `请输入${this.infoKeys[item].name}`,
type: 'warning',
duration: 1500,
callback: () => {
this.focus = true;
}
});
if (!this.shopInfo[item]) return false
}
return true
......
......@@ -24,10 +24,6 @@ export default {
type: Object,
default: () => {}
},
current: {
type: Number,
default: 0
}
},
computed: {
redAmount() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment