liujq 3 anos atrás
pai
commit
61ba059c9f

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/index.html


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/css/chunk-72996224.438ed0e4.css


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/app.87c2e431.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/chunk-2a19f0a9.216ce733.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/chunk-72996224.3f24d925.js


+ 8 - 7
src/views/channel/components/popup/IndexEdit.vue

@@ -58,19 +58,20 @@ export default {
       if (str === 'edit') {
         params = {...this.$refs.ruleForm.baseForm, ...params}
       }
+      if (!params.hide_status) params.hide_status = '1'
       this.formData = [
-        { label: '发布时间', key: 'publish_at', type: 'datePicker', type2: 'date'},
-        { label: '标题', key: 'title'},
+        { label: '发布时间', key: 'publish_at', type: 'datePicker', type2: 'date', rules: 1},
+        { label: '标题', key: 'title', rules: 1},
+        { label: '状态', rules: 1, key: 'hide_status', class: 'c-2', type: 'select', options: this.$dictData.hide_status},
         { label: '视频分类', key: 'channels_type', class: 'c-2', type: 'select', options: this.$dictData.channels_type},
-        { label: '状态', key: 'hide_status', class: 'c-2', type: 'select', options: this.$dictData.hide_status},
-        { label: '封面图', key: 'cover', class: 'c-2', type: 'cuImg',
+        { label: '封面图', rules: 1, key: 'cover', class: 'c-2', type: 'cuImg',
           options: {
-            w: 375,
-            h: 250,
+            w: 175,
+            h: 225,
           }
         },
         { label: '自定义标签', class: 'c-2', key: 'custom_tag', type: 'textarea' },
-        { label: '视频ID', key: 'feed_id', type: 'textarea' },
+        { label: '视频ID', rules: 1, key: 'feed_id', type: 'textarea' },
       ]
       this.setDefaultValue(params)
     },

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff