切换导航条
此项目
正在载入...
登录
陈虹瑞
/
LuckyDraw
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
chenhongrui
2 years ago
提交
40eaaf3d7a1ae639349bd95c3f47349861d48977
1 个父辈
4a20ee29
shangchuan
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
0 行增加
和
41 行删除
vue-cc/src/components/uploadwenj/index.vue
vue-cc/src/components/uploadwenj/uplodinput.vue
vue-cc/src/utils/time.js
vue-cc/src/components/uploadwenj/index.vue
查看文件 @
40eaaf3
...
...
@@ -37,10 +37,6 @@ export default {
handleChange (info) {
if (info.file.status !== 'uploading') {
console.log(info)
console.log(info.file, info.fileList)
console.log(info.file.response.data)
console.log(this.juanlist)
// this.juanlist.push(...info.file.response.data)
this.$emit('uploadwenj', info.file.response.data)
}
if (info.file.status === 'done') {
...
...
vue-cc/src/components/uploadwenj/uplodinput.vue
已删除
100644 → 0
查看文件 @
4a20ee2
<template>
<a-upload
name="file"
:multiple="true"
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
:headers="headers"
@change="handleChange"
>
<a-button> <a-icon type="upload" /> Click to Upload </a-button>
</a-upload>
</template>
<script>
export default {
name: "UploInd",
data() {
return {
headers: {
authorization: 'authorization-text',
},
};
},
methods: {
handleChange(info) {
if (info.file.status !== 'uploading') {
console.log(info.file, info.fileList);
}
if (info.file.status === 'done') {
this.$message.success(`${info.file.name} file uploaded successfully`);
} else if (info.file.status === 'error') {
this.$message.error(`${info.file.name} file upload failed.`);
}
},
},
};
</script>
\ No newline at end of file
vue-cc/src/utils/time.js
已删除
100644 → 0
查看文件 @
4a20ee2
请
注册
或
登录
后发表评论