重新封装了表单窗体,支持关闭时变更检测;
优化模版代码及内部注释,更快速开发;
开发文档中的代码片段可以复制成用户片段模版
This commit is contained in:
2021-04-30 21:58:31 +08:00
parent a41311327c
commit 03a88be5ce
30 changed files with 562 additions and 792 deletions

View File

@@ -1,20 +1,10 @@
<template>
<section>
<h4>
新增
<a-tag>1.0</a-tag>
</h4>
<Highlight :code="codes['/seed/addForm.vue']" language="html" />
<h4>
编辑
<a-tag>1.0</a-tag>
</h4>
<Highlight :code="codes['/seed/editForm.vue']" language="html" />
<h4>
表单主体
<a-tag>1.0</a-tag>
</h4>
<Highlight :code="codes['/seed/form.vue']" language="html" />
<p>
当前版本
<a-tag>1.2</a-tag>
</p>
<Highlight :code="codes['/seed/form.vue']" copy-template language="html" />
</section>
</template>
<script>
@@ -30,4 +20,4 @@ export default {
},
},
};
</script>
</script>

View File

@@ -4,7 +4,7 @@
当前版本
<a-tag>1.2</a-tag>
</p>
<Highlight :code="codes['/seed/query.vue']" language="html" />
<Highlight :code="codes['/seed/query.vue']" copy-template language="html" />
</section>
</template>
<script>

View File

@@ -4,7 +4,7 @@
当前版本
<a-tag>1.1</a-tag>
</p>
<Highlight :code="codes['/seed/treeLayout.vue']" language="html" />
<Highlight :code="codes['/seed/treeLayout.vue']" copy-template language="html" />
</section>
</template>
<script>