Authored by bevishuang

查看详情增加关闭按钮 review by 杨延青

... ... @@ -65,6 +65,9 @@
></file-upload>
</i-form-item>
</i-form>
<div slot="footer" v-if="readonly">
<i-button type="primary" @click="close">关闭</i-button>
</div>
</i-modal>
</template>
... ... @@ -162,6 +165,7 @@ export default {
id,
includeBrandId,
imageUrl: detail.imageUrl,
productLimitType: parseInt(detail.rangeType || 1),
rangeType: parseInt(detail.rangeType || 1),
productLimitValue: (detail.notIncludeProductIds || detail.includeProductIds),
isExcludeis: detail.notIncludeProductIds ? true : false
... ... @@ -364,6 +368,9 @@ export default {
this.formData.imageWidth = 0;
this.formData.imageHeight = 0;
// this.$emit("input", this.handleSaveData(this.value_));
},
close() {
this.visiable = false;
}
},
components: {
... ...