提交 fd3f94ff authored 作者: lihuihui's avatar lihuihui

修改bug

上级 6d09fb93
...@@ -103,7 +103,11 @@ const typeFilter = () => { ...@@ -103,7 +103,11 @@ const typeFilter = () => {
<el-icon class="video-head-icon" @click="changeCard"><Expand /></el-icon> <el-icon class="video-head-icon" @click="changeCard"><Expand /></el-icon>
</div> </div>
<div class="video-tool-btn"> <div class="video-tool-btn">
<router-link v-if="tabValue === '1'" v-permission="'v1-resource-other-information-create'" to="/resource/other/update"> <router-link
v-if="tabValue === '1'"
v-permission="'v1-resource-other-information-create'"
to="/resource/other/update"
>
<el-button type="primary" round>新建其他资源</el-button> <el-button type="primary" round>新建其他资源</el-button>
</router-link> </router-link>
</div> </div>
......
...@@ -158,8 +158,8 @@ const createUploader: any = () => { ...@@ -158,8 +158,8 @@ const createUploader: any = () => {
<input accept=".mp4" type="file" id="fileUpload" @change="fileChange($event)" /> <input accept=".mp4" type="file" id="fileUpload" @change="fileChange($event)" />
</div> </div>
<div class="demo-progress" v-if="uploadData.code === 1"> <div class="demo-progress" v-if="uploadData.code === 1">
<el-progress style="width: 340px" :percentage="uploadData.progress" status="success" /> <el-progress style="width: 340px" :percentage="uploadData.progress" />
<span> {{ uploadData.progress }}% </span> <!-- <span> {{ uploadData.progress }}% </span> -->
</div> </div>
<div class="error video-info" v-if="uploadData.code === 2"> <div class="error video-info" v-if="uploadData.code === 2">
<div class="name">上传失败(请重新选择文件进行上传)</div> <div class="name">上传失败(请重新选择文件进行上传)</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论