Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Mar 29, 2023
1 parent 2d471f6 commit 05a5447
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/components/ma-upload/index.vue
Original file line number Diff line number Diff line change
@@ -15,16 +15,14 @@
</div>
</template>
<script setup>
import { ref, watch, nextTick, provide } from 'vue'
import { ref, watch, provide } from 'vue'
import { Message } from '@arco-design/web-vue'

import uploadConfig from '@/config/upload'
import { isArray, isObject, isString } from '@vue/shared'
import MaImageUpload from './components/image-upload.vue'
import MaFileUpload from './components/file-upload.vue'
import MaChunkUpload from './components/chunk-upload.vue'


const emit = defineEmits(['update:modelValue'])
const file = ref()
const props = defineProps({
@@ -58,13 +56,6 @@ watch(() => props.modelValue, (val) => {
deep: true, immediate: true
})

const storageMode = {
'1': 'LOCAL',
'2': 'OSS',
'3': 'COS',
'4': 'QINIU'
}

provide('storageMode', uploadConfig.storageMode)
provide('config', props)

0 comments on commit 05a5447

Please sign in to comment.