@@ -453,7 +453,9 @@ export default {
getProjectInfo() {
GetProjectInfo({ id: this.projectId }).then(({ project_info }) => {
- this.project = project_info;
+ if (project_info.cover_image_file_url) {
+ this.project = project_info;
+ }
});
},
@@ -428,7 +428,7 @@ export default {
let obj = {
xuhao: '',
isEdit: false,
- file_name: file_name,
+ file_name,
};
this.$set(this.content.file_info, file_id, obj);
}
@@ -39,7 +39,7 @@ export default {
watch: {
'data.file_list.length': {
- handler(val) {
+ handler() {
this.initData();