Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
inori_templ
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zpc
inori_templ
提交
c65857f1
提交
c65857f1
编写于
10月 11, 2019
作者:
zhangpingchuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zpc
上级
8a23f349
变更
12
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
3 行增加
和
4 行删除
+3
-4
README.md
README.md
+3
-4
1569221899724.png
superform.assets/1569221899724.png
+0
-0
1569223902448.png
superform.assets/1569223902448.png
+0
-0
1569224272508.png
superform.assets/1569224272508.png
+0
-0
1569224554351.png
superform.assets/1569224554351.png
+0
-0
1569236343090.png
superform.assets/1569236343090.png
+0
-0
1569467503214.png
superform.assets/1569467503214.png
+0
-0
1569468853059.png
superform.assets/1569468853059.png
+0
-0
1569474746675.png
superform.assets/1569474746675.png
+0
-0
1570760092049.png
superform.assets/1570760092049.png
+0
-0
1570760897830.png
superform.assets/1570760897830.png
+0
-0
1570760987595.png
superform.assets/1570760987595.png
+0
-0
未找到文件。
README.md
浏览文件 @
c65857f1
...
...
@@ -22,7 +22,7 @@ yarn serve
把该超级表单集成到我们的项目中,也是非常方便的。了解项目集成之前,我们首先来看一下我们的表单目录结构,如下图1:
<div
align =
center
>

</div>
<div
align =
center
>

</div>
<div
align =
center
>
图1
</div>
```
...
...
@@ -38,7 +38,6 @@ yarn serve
│ │ ├──utils 项目的工具类
│ ├──components 项目的基础组件,主要包含所有的编辑器,统一注册到了app-register.js
│ ├──forms 表单存放的地址
│ ├──local 国际化文件资源
│ ├──pages 所有视图存放的地址
│ ├──App.vue 根组件文件
│ ├──main.js 项目的入口文件
...
...
@@ -67,12 +66,12 @@ yarn serve
2.
复制静态资源,工具类,基础组件,设置入口文件;
<div
align =
center
>

</div>
<div
align =
center
>

</div>
<div
align =
center
>
图4
</div>
如上图4,我们需要把public里面的assets文件夹,src下的common文件夹和components文件夹直接copy到我们项目中,这儿需要注意的是路径必须一致,原因是我们之前在vue.config.js文件中设置了项目路径简写。
<div
align =
center
>

</div>
<div
align =
center
>

</div>
<div
align =
center
>
图5
</div>
如上图5,因为我们使用的组件包是ant-design-vue,基础组件的导出是app-register.js文件,其工具类ComUtil是我们的工具类,所以我们需要在我们的项目中加入上图的代码。
...
...
superform.assets/1569221899724.png
已删除
100644 → 0
浏览文件 @
8a23f349
40.6 KB
superform.assets/1569223902448.png
已删除
100644 → 0
浏览文件 @
8a23f349
70.3 KB
superform.assets/1569224272508.png
已删除
100644 → 0
浏览文件 @
8a23f349
39.4 KB
superform.assets/1569224554351.png
已删除
100644 → 0
浏览文件 @
8a23f349
46.1 KB
superform.assets/1569236343090.png
已删除
100644 → 0
浏览文件 @
8a23f349
71.6 KB
superform.assets/1569467503214.png
已删除
100644 → 0
浏览文件 @
8a23f349
36.4 KB
superform.assets/1569468853059.png
已删除
100644 → 0
浏览文件 @
8a23f349
59.1 KB
superform.assets/1569474746675.png
已删除
100644 → 0
浏览文件 @
8a23f349
39.2 KB
superform.assets/1570760092049.png
0 → 100644
浏览文件 @
c65857f1
51.6 KB
superform.assets/1570760897830.png
0 → 100644
浏览文件 @
c65857f1
36.6 KB
superform.assets/1570760987595.png
0 → 100644
浏览文件 @
c65857f1
39.4 KB
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录