Kaynağa Gözat

🤢 按要求修改视频字段

快乐的梦鱼 1 hafta önce
ebeveyn
işleme
7a1145e2e4
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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[];