easypay-admin/README.ZBKJ.md
2023-12-20 21:43:49 +08:00

18 lines
795 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

公用组件
无限极分类组件 src/components/Category
使用范围:菜单,文章等各种分类配置数据
表单生成组件
https://github.com/JakHuang/form-generator
json渲染表单以及是否需要编辑数据回填的功能以下为例
示例src/views/maintain/devconfig/combineEdit.vue
<parser v-if="formConf.fields.length > 0" :isEdit="isCreate === 1" :form-conf="formConf" :formEditData="editData" @submit="handlerSubmit" />
注意:设置单选按钮的值时需要带上单引号,要不渲染待编辑数据时不会自动选中
提示:如果不需要每次刷新页面都弹出二维码请在src/layout/index.vue中注释或者删除15行代码。
```
<div class="open-image" @click="clear" v-if="openImage"><img src="@/assets/imgs/pc1.png" alt=""></div>
```