merge: 合并 soy 1.3.6

This commit is contained in:
xlsea
2024-09-27 10:28:46 +08:00
37 changed files with 1230 additions and 1286 deletions

View File

@ -9,13 +9,13 @@ defineOptions({
});
interface Props {
deptId?: string;
deptId?: CommonType.IdType | null;
[key: string]: any;
}
const props = defineProps<Props>();
const value = defineModel<string | null>('value', { required: true });
const value = defineModel<CommonType.IdType[] | null>('value', { required: false });
const attrs: SelectProps = useAttrs();
@ -35,7 +35,7 @@ watch(
async function getRoleOptions() {
startRoleLoading();
const { error, data } = await fetchGetPostSelect(props.deptId);
const { error, data } = await fetchGetPostSelect(props.deptId!);
if (!error) {
roleOptions.value = data.map(item => ({