From 958f5a5abc6b5d4efee768d0b181078c25d4199e Mon Sep 17 00:00:00 2001
From: long <515897141@qq.com>
Date: 星期五, 21 一月 2022 19:09:38 +0800
Subject: [PATCH] 升级富文本,可上传视频

---
 src/pages/system/banner.vue |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/src/pages/system/banner.vue b/src/pages/system/banner.vue
index 202be7f..9b55b29 100644
--- a/src/pages/system/banner.vue
+++ b/src/pages/system/banner.vue
@@ -68,7 +68,7 @@
             <!-- 灏哄 -->
             杞挱鍥撅細<br><span style="color: #999;font-size: 12px">(xxx*xxx鍍忕礌)</span>
           </span>
-          <!-- 涓婁紶鍥剧墖缁勪欢(澶氬浘) -->
+          <!-- 涓婁紶鍥剧墖缁勪欢(鍗曞浘) -->
           <UploadSingleImg
             ref="refUploadImg"
             v-model="dialogData.uploadImgs"
@@ -138,6 +138,19 @@
       pageSize: 20,
       // 鍒嗛〉 鈫戔啈鈫戔啈鈫戔啈鈫戔啈鈫戔啈
 
+      jumpTypeOpt: [
+        { label: '涓嶈烦杞�', value: 0 },
+        { label: '灏忕▼搴忛〉闈�', value: 1 },
+        { label: 'H5椤甸潰', value: 2 },
+        { label: '鍏跺畠灏忕▼搴�', value: 3 }
+      ],
+
+      envVersionOpt: [
+        { label: '寮�鍙戠増', value: 'develop' },
+        { label: '浣撻獙鐗�', value: 'trial' },
+        { label: '姝e紡鐗�', value: 'release' }
+      ],
+
       // 鏄剧ず寮圭獥
       isShowDialog: false,
 
@@ -171,12 +184,6 @@
         uploadImgs: []
       }
 
-    }
-  },
-  computed: {
-    // 涓婁紶绂佺敤
-    uploadDisabled() {
-      return this.dialogData.uploadImgs.length > 0
     }
   },
   mounted() {
@@ -329,7 +336,7 @@
       }, inf => {
         this.$messageSuc('淇濆瓨鎴愬姛')
         this.hideDialog()
-        this.getList()
+        type === 'add' ? this.reGetList() : this.getList()
       })
     }
   }

--
Gitblit v1.8.0