lrf402788946 9838251bc0 update пре 5 година
..
menu b700f874c0 update пре 5 година
navBar 4c59fbab5a update пре 5 година
README.md c1af60c623 更新 'layout/admin/README.md' пре 5 година
admin-menu.vue b700f874c0 update пре 5 година
breadcrumb.vue 9067e82070 init пре 5 година
detail-frame.vue 9838251bc0 update пре 5 година
fw-admin.vue 9838251bc0 update пре 5 година
list-frame.vue 9838251bc0 update пре 5 година
navBar.vue fed77894b5 update пре 5 година
scroll-page.vue 9067e82070 init пре 5 година
scrollBar.vue 9067e82070 init пре 5 година

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插槽把选项拿出来