|
@@ -20,24 +20,14 @@
|
|
|
</file-list>
|
|
|
<!--富文本-->
|
|
|
<file-text ref="text" v-if="uploadType == '3'">
|
|
|
- <Editor
|
|
|
- ref="editor"
|
|
|
- slot="editor"
|
|
|
- :content="cacheInfo.content.content"
|
|
|
- :id="uploadCacheData.sat_sharematerialid"
|
|
|
- ></Editor>
|
|
|
+ <Editor ref="editor" slot="editor" :content="cacheInfo.content.content"
|
|
|
+ :id="uploadCacheData.sat_sharematerialid"></Editor>
|
|
|
</file-text>
|
|
|
</el-col>
|
|
|
<!-- 授权范围 -->
|
|
|
<el-col :span="10">
|
|
|
- <scopeOfauth
|
|
|
- style="margin-left:10px;"
|
|
|
- :defaultData="defaultData"
|
|
|
- :dataid="authId"
|
|
|
- appidname="sat_sharematerialid"
|
|
|
- obiectName="sat_sharematerial"
|
|
|
- @onChecked="onChecked"
|
|
|
- />
|
|
|
+ <scopeOfauth style="margin-left:10px;" :defaultData="defaultData" :dataid="authId"
|
|
|
+ appidname="sat_sharematerialid" obiectName="sat_sharematerial" @onChecked="onChecked" />
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -133,7 +123,11 @@ export default {
|
|
|
},
|
|
|
/* 更新附件列表数据 */
|
|
|
randerData () {
|
|
|
- if (this.uploadType != 3) this.$refs.attFileList.randerData(this.uploadCacheData.attinfos)
|
|
|
+ if (this.uploadType != 3) {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.attFileList.randerData(this.uploadCacheData.attinfos)
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
deleteFile (id) {
|
|
|
this.uploadCacheData.attinfos = this.uploadCacheData.attinfos.filter(v => v.linksid != id)
|