diff --git a/src/views/martial/competition/index.vue b/src/views/martial/competition/index.vue index c3fce8e..44bb8e9 100644 --- a/src/views/martial/competition/index.vue +++ b/src/views/martial/competition/index.vue @@ -959,6 +959,7 @@ import { ATTACHMENT_TYPES, ATTACHMENT_TYPE_LABELS } from '@/api/martial/attachment' +import { getToken } from '@/utils/auth' export default { name: 'CompetitionManagement', @@ -1002,6 +1003,7 @@ export default { propsHttp: { res: 'data', }, + headers: { 'Blade-Auth': 'bearer ' + getToken() }, action: '/blade-resource/oss/endpoint/put-file' } ]