提交 fdb940f8 编写于 作者: jlj05024111@163.com's avatar jlj05024111@163.com

feat: 更新选项框列表和单选项列表编辑器样式

上级 800960d2
......@@ -147,6 +147,7 @@ export const IBizCheckbox = defineComponent({
this.ns.b(),
this.disabled ? this.ns.m('disabled') : '',
this.readonly ? this.ns.m('readonly') : '',
this.ns.b(this.c.breakmode),
]}
>
{[
......
import { defineComponent } from 'vue';
import {
getGridEditorEmits,
getGridInputProps,
getGridCheckboxProps,
useGridCellEditor,
useNamespace,
} from '@ibiz-template/vue-util';
export const IBizGridCheckbox = defineComponent({
name: 'IBizGridCheckbox',
props: getGridInputProps(),
props: getGridCheckboxProps(),
emits: getGridEditorEmits(),
setup(props, { emit }) {
const ns = useNamespace('grid-checkbox');
......
......@@ -125,7 +125,7 @@ export const IBizPicker = defineComponent({
// 聚焦
const onFocus = (e: IData) => {
emit('operate', true);
const query = isShowAll.value ? '' : e.target.value;
const query = isShowAll.value && c.showAll ? '' : e.target.value;
onSearch(query);
};
......
......@@ -50,6 +50,7 @@ export const IBizRadio = defineComponent({
this.ns.is('showicon', this.c.editorParams.SHOWICON === 'TRUE'),
this.disabled ? this.ns.m('disabled') : '',
this.readonly ? this.ns.m('readonly') : '',
this.ns.b(this.c.breakmode),
]}
>
{[
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册