This commit is contained in:
walkor 2022-12-02 22:19:03 +08:00
parent dc39deddc7
commit 33bf232777
7 changed files with 27 additions and 15 deletions

View File

@ -64,8 +64,8 @@
name: 'rules', name: 'rules',
initValue: initValue, initValue: initValue,
data: e.data, data: e.data,
tree: {"show":true}, tree: {show: true},
toolbar: {"show":true,"list":["ALL","CLEAR","REVERSE"]}, toolbar: {show: true,"list":["ALL","CLEAR","REVERSE"]},
}) })
} }
}); });

View File

@ -88,8 +88,8 @@
name: 'rules', name: 'rules',
initValue: initValue, initValue: initValue,
data: e.data, data: e.data,
tree: {"show":true}, tree: {show: true},
toolbar: {"show":true,"list":["ALL","CLEAR","REVERSE"]}, toolbar: {show: true,"list":["ALL","CLEAR","REVERSE"]},
}) })
} }
}); });

View File

@ -114,7 +114,7 @@
model: {"icon":"hidden","label":{"type":"text"}}, model: {"icon":"hidden","label":{"type":"text"}},
clickClose: 'true', clickClose: 'true',
radio: 'true', radio: 'true',
tree: {"show":true,"strict":false,"clickCheck":true,"clickExpand":false}, tree: {show: true,"strict":false,"clickCheck":true,"clickExpand":false},
}) })
} }
}); });

View File

@ -137,7 +137,7 @@
model: {"icon":"hidden","label":{"type":"text"}}, model: {"icon":"hidden","label":{"type":"text"}},
clickClose: 'true', clickClose: 'true',
radio: 'true', radio: 'true',
tree: {"show":true,"strict":false,"clickCheck":true,"clickExpand":false}, tree: {show: true,"strict":false,"clickCheck":true,"clickExpand":false},
}) })
} }
}); });

View File

@ -119,8 +119,8 @@
name: 'roles', name: 'roles',
initValue: initValue, initValue: initValue,
data: e.data, data: e.data,
tree: {"show":true}, tree: {show: true},
toolbar: {"show":true,"list":["ALL","CLEAR","REVERSE"]}, toolbar: {show: true,"list":["ALL","CLEAR","REVERSE"]},
}) })
} }
}); });

View File

@ -142,8 +142,8 @@
name: 'roles', name: 'roles',
initValue: initValue, initValue: initValue,
data: e.data, data: e.data,
tree: {"show":true}, tree: {show: true},
toolbar: {"show":true,"list":["ALL","CLEAR","REVERSE"]}, toolbar: {show: true,"list":["ALL","CLEAR","REVERSE"]},
}) })
} }
}); });

View File

@ -32,6 +32,12 @@
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="checkbox_b">开关</button> <button class="pear-btn pear-btn-sm" plain data-size="block" data-type="checkbox_b">开关</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="radio">单选框</button> <button class="pear-btn pear-btn-sm" plain data-size="block" data-type="radio">单选框</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="textarea">文本域</button> <button class="pear-btn pear-btn-sm" plain data-size="block" data-type="textarea">文本域</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="icon">图标</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="multiSelect">下拉多选</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="treeSelectOne">树单选</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="tree">树多选</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="upload">上传文件</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="uploadImg">上传图片</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="submit">提交</button> <button class="pear-btn pear-btn-sm" plain data-size="block" data-type="submit">提交</button>
</div> </div>
</div> </div>
@ -45,6 +51,12 @@
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="checkbox_b">开关</button> <button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="checkbox_b">开关</button>
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="radio">单选框</button> <button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="radio">单选框</button>
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="textarea">文本域</button> <button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="textarea">文本域</button>
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="icon">图标</button>
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="multiSelect">下拉多选</button>
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="treeSelectOne">树单选</button>
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="tree">树多选</button>
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="upload">上传文件</button>
<button class="pear-btn pear-btn-sm" plain data-size="inline" data-type="uploadImg">上传图片</button>
<button class="pear-btn pear-btn-sm" plain data-size="block" data-type="submit">提交</button> <button class="pear-btn pear-btn-sm" plain data-size="block" data-type="submit">提交</button>
</div> </div>
</div> </div>