提交 a54a275e authored 作者: 王鹏飞's avatar 王鹏飞

rename

上级 b91b0487
export default {
id: 'file',
id: 'attachment',
title: '照片/附件',
showProgress: true,
progress: 0,
......
......@@ -4,7 +4,7 @@ import career from './career'
import honor from './honor'
import training from './training'
import answer from './answer'
import file from './file'
import attachment from './attachment'
import declare from './declare'
export default [
......@@ -20,7 +20,7 @@ export default [
honor,
training,
answer,
file,
attachment,
declare
]
}
......
export default {
id: 'file',
id: 'attachment',
title: '资料上传',
showProgress: true,
progress: 0,
......
......@@ -2,7 +2,7 @@ import profile from './profile'
import education from './education'
import career from './career'
import answer from './answer'
import file from './file'
import attachment from './attachment'
import training from './training'
import honor from './honor'
import declare from './declare'
......@@ -18,7 +18,7 @@ export default [
education,
career,
answer,
file,
attachment,
training,
honor,
{
......
......@@ -47,18 +47,8 @@ export default {
components: {},
props: {
title: String,
get: {
type: Object,
default() {
return {}
}
},
update: {
type: Object,
default() {
return {}
}
},
get: Object,
update: Object,
form: {
type: Object,
default() {
......@@ -112,7 +102,7 @@ export default {
if (error.response) {
this.$emit('error', error.response.data)
} else {
console.log(error)
throw error
}
})
},
......@@ -158,7 +148,7 @@ export default {
if (error.response) {
this.$emit('error', error.response.data)
} else {
console.log(error)
throw error
}
})
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论