Commit 15872970 by 前端

Merge branch 'kuangyq_fix_v2.0.0' into 'v2.0.0'

素材内容允许修改

See merge request !87
2 parents 3e35f70f 8bb3b7da
......@@ -28,7 +28,7 @@
<div v-show="materialAddForm.materialType == 1">
<div class="pdf-show">
<input type="file" style="opacity: 0" accept=".pdf" @change="e => handlePdfChange(e)" />
<el-button icon="el-icon-plus" :size="size" :disabled="routeInfo.addOrEdit == 2">选择文件</el-button>
<el-button icon="el-icon-plus" :size="size">选择文件</el-button>
</div>
<div v-if="pdfUrl">{{ pdfUrl }}</div>
</div>
......@@ -245,7 +245,7 @@ export default {
mounted() {
this.routeInfo = this.$route.query
this.routeInfo.addOrEdit != 1 ? this.getMaterialInfo() : ''
this.routeInfo.addOrEdit != 1 ? this.forbidEdit() : ''
// this.routeInfo.addOrEdit != 1 ? this.forbidEdit() : ''
this.title = this.titleObj[this.routeInfo.addOrEdit]
this.materialInsert()
this.getMaterialList()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!