bug fixed
This commit is contained in:
@ -3,13 +3,19 @@
|
||||
ref="formRef"
|
||||
:model="modelValue"
|
||||
:rules="rules"
|
||||
:disabled="!isAdd"
|
||||
:label-width="labelWidth + 'px'"
|
||||
>
|
||||
<div class="form_title" v-if="showTitle">基本信息</div>
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<el-form-item :label="imageName" prop="image">
|
||||
<ImageUpload v-model="modelValue.image" :fileSize="2" :limit="1" />
|
||||
<ImageUpload
|
||||
:disabled="!isAdd"
|
||||
v-model="modelValue.image"
|
||||
:fileSize="2"
|
||||
:limit="1"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@ -129,6 +135,7 @@
|
||||
</el-row> -->
|
||||
|
||||
<CityOptions
|
||||
:disabled="!isAdd"
|
||||
v-model="modelValue"
|
||||
:labelWidth="labelWidth"
|
||||
ref="cityFormRef"
|
||||
@ -203,12 +210,14 @@
|
||||
</el-row>
|
||||
|
||||
<FieldOptions
|
||||
:disabled="!isAdd"
|
||||
v-model="modelValue"
|
||||
:labelWidth="labelWidth"
|
||||
ref="fieldFormRef"
|
||||
/>
|
||||
|
||||
<InputBoxAdd
|
||||
:disabled="!isAdd"
|
||||
:labelWidth="labelWidth"
|
||||
v-model="modelValue"
|
||||
title="关键词"
|
||||
@ -232,6 +241,7 @@
|
||||
:labelWidth="labelWidth"
|
||||
v-model="modelValue"
|
||||
title="生产方向"
|
||||
:disabled="!isAdd"
|
||||
placeholder="请输入生产方向"
|
||||
fieldKey="directions"
|
||||
ref="directionsFormRef"
|
||||
@ -273,7 +283,12 @@
|
||||
type="textarea"
|
||||
:autosize="{ minRows: 2, maxRows: 6 }"
|
||||
/>
|
||||
<WangEditor v-else v-model="modelValue.introduce" minHeight="150px" />
|
||||
<WangEditor
|
||||
:readOnly="!isAdd"
|
||||
v-else
|
||||
v-model="modelValue.introduce"
|
||||
minHeight="150px"
|
||||
/>
|
||||
<!-- <Editor
|
||||
v-else
|
||||
v-model="modelValue.introduce"
|
||||
|
Reference in New Issue
Block a user