Explorar o código

:bug: 修复新版Avue picture-img 数组返回格式问题

smallchill %!s(int64=4) %!d(string=hai) anos
pai
achega
d0380eba80
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      src/views/resource/oss.vue
  2. 1 0
      src/views/system/tenant.vue

+ 1 - 0
src/views/resource/oss.vue

@@ -224,6 +224,7 @@
               prop: "backgroundUrl",
               type: 'upload',
               listType: 'picture-img',
+              dataType: 'string',
               action: '/api/blade-resource/oss/endpoint/put-file',
               propsHttp: {
                 res: 'data',

+ 1 - 0
src/views/system/tenant.vue

@@ -170,6 +170,7 @@ export default {
             prop: "backgroundUrl",
             type: 'upload',
             listType: 'picture-img',
+            dataType: 'string',
             action: '/api/blade-resource/oss/endpoint/put-file',
             propsHttp: {
               res: 'data',