Commit 8bb3b7da by 匡雅琴

素材内容允许修改

1 parent d4837947
......@@ -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!