silent 4 лет назад
Родитель
Сommit
b9699deeb8
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      src/views/sing_active/activeposter.vue

+ 9 - 0
src/views/sing_active/activeposter.vue

@@ -71,6 +71,15 @@
             {
               label: "背景图片地址",
               prop: "bgImg",
+              type: 'upload',
+              listType: 'picture-img',
+              dataType: 'string',
+              span: 12,
+              propsHttp: {
+                res: 'data',
+                url: 'link'
+              },
+              action: '/api/blade-resource/oss/endpoint/put-file',
               rules: [{
                 required: true,
                 message: "请输入背景图片地址",