You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
795 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

公用组件
无限极分类组件 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>
```