Quellcode durchsuchen

🤢 按要求修改视频字段

快乐的梦鱼 vor 1 Woche
Ursprung
Commit
7a1145e2e4
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      src/api/CommonContent.ts

+ 4 - 0
src/api/CommonContent.ts

@@ -252,6 +252,9 @@ export class GetContentDetailItem extends DataModel<GetContentDetailItem> {
       if ((!this.images || this.images.length == 0) && this.image) {
         this.images = [ this.image ]
       }
+      if (this.publishVideo) {
+        this.video = this.publishVideo
+      }
     }
   }
 
@@ -265,6 +268,7 @@ export class GetContentDetailItem extends DataModel<GetContentDetailItem> {
   images = [] as string[];
   audio = '';
   video = '';
+  publishVideo?: string;
   desc = '';
   flag ?: string[];
   tags ?: string[];