修改bug
This commit is contained in:
parent
b2842e3330
commit
21052b019d
|
|
@ -28,24 +28,18 @@
|
|||
:max="99.99" :precision="2" @keydown="onPriceKeydown" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<!-- <a-col :span="24">
|
||||
<span style="margin-left:155px;">
|
||||
<a-button v-if="!disabled" @click="handleElderTag">选择图标</a-button>
|
||||
</span>
|
||||
</a-col>
|
||||
</a-col> -->
|
||||
<a-col :span="12" style="margin-top: 10px;">
|
||||
<a-form-item label="默认图标" v-bind="validateInfos.pic" id="ElderTagForm-pic" name="pic" :labelCol="labelCol2" :wrapperCol="wrapperCol2">
|
||||
<!-- <JImageUploadToOpe :toOpe="true" :bizPath="upBizPrefix + '/zzxx/zzbq'" :fileMax="1"
|
||||
v-model:value="formData.pic" :disabled="true" >
|
||||
</JImageUploadToOpe> -->
|
||||
<img :width="50" :height="50" :src="opeMediaAddress+formData.pic" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12" style="margin-top: 10px;">
|
||||
<a-form-item label="焦点图标" v-bind="validateInfos.picFocus" id="ElderTagForm-picFocus" name="picFocus" :labelCol="labelCol2" :wrapperCol="wrapperCol2">
|
||||
<!-- <JImageUploadToOpe :toOpe="true" :bizPath="upBizPrefix + '/zzxx/zzbq'" :fileMax="1"
|
||||
v-model:value="formData.picFocus" :disabled="true" >
|
||||
</JImageUploadToOpe> -->
|
||||
<img :width="50" :height="50" :src="opeMediaAddress+formData.picFocus" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
|
@ -254,11 +248,11 @@ async function submitForm() {
|
|||
function handleTypeChanged(v_) {
|
||||
if (!formData.pic || formData.pic == defaultEmoPic || formData.pic == defaultBodyPic) {
|
||||
if (v_ == 'qx') {
|
||||
formData.pic = defaultEmoPic
|
||||
formData.pic = defaultBodyPic
|
||||
formData.picFocus = defaultEmoPic
|
||||
} else {
|
||||
formData.pic = defaultBodyPic
|
||||
formData.picFocus = defaultBodyPic
|
||||
formData.picFocus = defaultEmoPic
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue