按钮样式调整

This commit is contained in:
‘huanghaiixia’
2025-12-15 14:10:53 +08:00
parent 231dc1d936
commit e5a9545c55
18 changed files with 51 additions and 33 deletions

View File

@ -1,5 +1,5 @@
<template>
<Cascader v-model:value="emitData" :options="options" :load-data="loadData" @change="handleChange" :displayRender="handleRenderDisplay">
<Cascader v-model:value="emitData" :options="options" :load-data="loadData" @change="handleChange" :displayRender="handleRenderDisplay" change-on-select>
<template #suffixIcon v-if="loading">
<LoadingOutlined spin />
</template>
@ -189,6 +189,7 @@
isChange.value = true;
if (!keys) {
emit('change', keys);
emit('update:value', '');
return;
}
emit('change', keys[keys.length -1]);

View File

@ -15,7 +15,7 @@ import { DEFAULT_FILTER_FN, DEFAULT_SORT_FN, FETCH_SETTING, DEFAULT_SIZE } from
import { propTypes } from '/@/utils/propTypes';
export const basicProps = {
clickToRowSelect: { type: Boolean, default: true },
clickToRowSelect: { type: Boolean, default: false },
isTreeTable: Boolean,
tableSetting: propTypes.shape<TableSetting>({}),
inset: Boolean,