Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
V
vue-form
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
vue-form
Commits
a54a275e
提交
a54a275e
authored
12月 29, 2019
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename
上级
b91b0487
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
10 行增加
和
20 行删除
+10
-20
attachment.js
examples/kelley-form/attachment.js
+1
-1
index.js
examples/kelley-form/index.js
+2
-2
attachment.js
examples/sofia-form/attachment.js
+1
-1
index.js
examples/sofia-form/index.js
+2
-2
FormPane.vue
src/components/layout/FormPane.vue
+4
-14
没有找到文件。
examples/kelley-form/
file
.js
→
examples/kelley-form/
attachment
.js
浏览文件 @
a54a275e
export
default
{
id
:
'
file
'
,
id
:
'
attachment
'
,
title
:
'照片/附件'
,
showProgress
:
true
,
progress
:
0
,
...
...
examples/kelley-form/index.js
浏览文件 @
a54a275e
...
...
@@ -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
]
}
...
...
examples/sofia-form/
file
.js
→
examples/sofia-form/
attachment
.js
浏览文件 @
a54a275e
export
default
{
id
:
'
file
'
,
id
:
'
attachment
'
,
title
:
'资料上传'
,
showProgress
:
true
,
progress
:
0
,
...
...
examples/sofia-form/index.js
浏览文件 @
a54a275e
...
...
@@ -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
,
{
...
...
src/components/layout/FormPane.vue
浏览文件 @
a54a275e
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论