修改内容选择图文时的bug

This commit is contained in:
daihh
2023-02-14 11:33:41 +08:00
parent 37b860f51d
commit 2811e45a9f
3 changed files with 4 additions and 3 deletions

View File

@@ -19,7 +19,7 @@
<!--显示内容-->
<div v-else style="margin: 0px 10px;">
<!--视频-->
<div v-show="content.contentType>0 && content.contentType<51">
<div v-show="content.contentType>0 && content.contentType<51 && content.contentType!=41">
<div style="display: flex;justify-content:space-between">
<div>
<el-input maxlength="50" @change="updateName" v-model="content.contentName" placeholder="内容的名称(限50字以内)"></el-input>
@@ -111,7 +111,7 @@
<div v-show="content.contentType==41">
<div style="display: flex;justify-content:space-between">
<div>
<el-input maxlength="50" @change="updateName" v-model="content.contentName" placeholder="内容的名称(限50字以内)"></el-input>
<el-input maxlength="50" @change="updateName" v-model="content.contentName" placeholder="内容的名称(限20字以内)"></el-input>
</div>
<div>
<el-button type="primary" @click="saveData()" >保存</el-button>

View File

@@ -24,7 +24,7 @@
</div>
<!--内容区-->
<div style="margin-top: 10px;">
<div v-if="cware.content.contentType<51 && !cware.findShow">
<div v-if="cware.content.contentType<51 && cware.content.contentType!=41 && !cware.findShow">
<div v-if="cware.content.contentRefId==''">
<div style="padding-top: 0px;">
<!-- <div> -->