pull/4/head
张宇 2 years ago
parent 42db292c9c
commit 850a5a9838

@ -2,7 +2,7 @@
<view>
<kevyloading v-if="loading" type="bsm-loader" color="#618af8" transparent></kevyloading>
<wd-form v-if="!loading" ref="form" :model="formData" :rules="formRules">
<wd-form ref="form" :model="formData" :rules="formRules">
<!-- 基础信息 -->
<wd-cell-group title="基本信息" border>
<wd-input label="券名称" v-model="formData.name" />
@ -180,6 +180,9 @@ export default {
}
if (this.formData.coupon_type == 2) {
this.formData.cats = res.data.coupon_deatil?.map(item => item.id) || []
setTimeout(() => {
this.formData.cats = res.data.coupon_deatil?.map(item => item.id) || []
}, 321);
}
}

Loading…
Cancel
Save