|
@@ -424,6 +424,14 @@ export default {
|
|
|
this.content.file_list.push({ file_id, file_name, file_url });
|
|
this.content.file_list.push({ file_id, file_name, file_url });
|
|
|
this.content.file_id_list.push(file_id);
|
|
this.content.file_id_list.push(file_id);
|
|
|
this.content.file_info_list.push({ file_id, file_name, title: '', intro });
|
|
this.content.file_info_list.push({ file_id, file_name, title: '', intro });
|
|
|
|
|
+ if (this.canEditName) {
|
|
|
|
|
+ let obj = {
|
|
|
|
|
+ xuhao: '',
|
|
|
|
|
+ isEdit: false,
|
|
|
|
|
+ file_name: file_name,
|
|
|
|
|
+ };
|
|
|
|
|
+ this.$set(this.content.file_info, file_id, obj);
|
|
|
|
|
+ }
|
|
|
this.visibleResource = false;
|
|
this.visibleResource = false;
|
|
|
},
|
|
},
|
|
|
// 编辑文件名及序号
|
|
// 编辑文件名及序号
|