基于vue的文件分片上传 demo
inleft
2022-01-12 76dbfd647129706a3acd59e57918f3306b3045b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<template>
    <div id="app">
        <demo/>
       <!-- <div id="nav">
            <router-link to="/">Home</router-link>
            <router-link to="/about">About</router-link>
        </div>
        <router-view/> -->
 
        <!-- 将上传组件全局注册 -->
        <global-uploader></global-uploader>
    </div>
</template>
 
<script>
    import globalUploader from '@/components/globalUploader.vue'
    import HelloWorld from '@/components/HelloWorld.vue'
    import demo from '@/components/demo.vue'
 
    export default {
        name: 'app',
        data() {
            return {}
        },
        components: {
            globalUploader,
            HelloWorld,
            demo
            
        },
        computed: {},
        created() {
        },
        watch: {},
    }
</script>