lrf402788946 49ddc782e5 update 5 anos atrás
..
README.md c1af60c623 更新 'layout/admin/README.md' 5 anos atrás
admin-menu.vue 76510c1638 整理菜单 5 anos atrás
breadcrumb.vue 9067e82070 init 5 anos atrás
detail-frame.vue 6a95453b64 菜单 5 anos atrás
fw-admin.vue 49ddc782e5 update 5 anos atrás
list-frame.vue 782bea8a5e update 5 anos atrás
navBar.vue 332896ba2e 线上测试准备 5 anos atrás
scroll-page.vue 9067e82070 init 5 anos atrás
scrollBar.vue 9067e82070 init 5 anos atrás

README.md

list-frame:

prop

参数 类型 默认值 是否必填 说明
title String - card的标题
needFilter Boolean true 是否使用搜索框
filter Array [] 搜索框的数组,见filter内容
needPag Boolean true 是否使用分页
total Number 0 数据总数,分页使用
needAdd Boolean true 是否使用添加按钮
returns any null 返回按钮指向的位置
filter内容
参数 类型 默认值 是否必填 说明
label String - 搜索的内容提示
model String - 字段名
type String input 搜索的模式,默认输入,可选:select 选择

slot

插槽名 说明
title card标题自定义写,不包括add按钮
filter 搜索位置
options filter中如果有select,需要用options插槽把选项拿出来