feat:更新

This commit is contained in:
dengtongyu committed 2021-05-09 15:07:51 +08:00
1 parent c37c514828
commit 272536d740
9 files changed
+1276 -1298

No files matched your search

+30 -1
View File
@@ -1,5 +1,34 @@
<template>
<div class="about">
<h1>This is an about page</h1>
<a-upload-dragger
name="file"
:multiple="true"
@change="handleChange"
@beforeUpload="beforeUpload"
>
<p class="ant-upload-drag-icon">
<a-icon type="inbox" />
</p>
<p class="ant-upload-text">Click or drag file to this area to upload</p>
<p class="ant-upload-hint">
Support for a single or bulk upload. Strictly prohibit from uploading
company data or other band files
</p>
</a-upload-dragger>
</div>
</template>
<script>
export default {
name: "About",
methods: {
handleChange(info) {
console.log(info);
},
beforeUpload(event) {
console.log(event);
return false;
},
},
};
</script>