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

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

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