feat: request && login && router【e6939e22】(增加 login.vue 的租户选择、开启开关)
This commit is contained in:
@@ -11,12 +11,15 @@ interface Props {
|
||||
class?: any;
|
||||
options?: Array<{ label: string; value: string }>;
|
||||
placeholder?: string;
|
||||
enable?: boolean;
|
||||
}
|
||||
|
||||
const props = defineProps<Props>();
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
enable: true,
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<Select>
|
||||
<Select v-if="enable">
|
||||
<SelectTrigger :class="props.class">
|
||||
<SelectValue :placeholder="placeholder" />
|
||||
</SelectTrigger>
|
||||
|
||||
Reference in New Issue
Block a user