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

rename

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