Commit cf03384e authored by 刘怀志's avatar 刘怀志

文件共享-选择共享用户、共享权限后点击保存,再二次点击共享时,弹出框的内容没有被重置

parent cc6933a1
......@@ -10,7 +10,7 @@ body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
font-family: SiyuanHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}
label {
......
......@@ -156,7 +156,7 @@
@pagination="getList"
/>
<!-- 共享对话框 -->
<el-dialog title="视频共享" :visible.sync="showShareDialog" width="680px" append-to-body :close-on-click-modal="false">
<el-dialog title="视频共享" :visible.sync="showShareDialog" width="680px" :destroy-on-close="true" @close="closeDia" append-to-body :close-on-click-modal="false">
<el-row class="dialog-content" :gutter="20">
<!-- 左侧列表-->
<el-col :span="8">
......@@ -353,6 +353,12 @@ export default {
this.getLabelOptions()
},
methods: {
/** 关闭页面回调*/
closeDia() {
this.activeName = 'selecttVideo'
this.shareList = []
this.permissionCheckList = []
},
/** 判断是否有操作按钮权限*/
hasPermission(row, type) {
if (row.shareFile === false) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment