fix: `Layout` `RangePicker` `WeekPicker` `Textarea` on-demand loading failure
parent
d7f6148f24
commit
b1bb913f9d
|
@ -71,7 +71,7 @@ export { default as Form, FormItem } from './form';
|
|||
|
||||
export { default as Grid } from './grid';
|
||||
|
||||
export { default as Input, InputGroup, InputPassword, InputSearch, TextArea } from './input';
|
||||
export { default as Input, InputGroup, InputPassword, InputSearch, Textarea } from './input';
|
||||
|
||||
export type { ImageProps } from './image';
|
||||
export { default as Image, ImagePreviewGroup } from './image';
|
||||
|
@ -80,7 +80,13 @@ export type { InputNumberProps } from './input-number';
|
|||
export { default as InputNumber } from './input-number';
|
||||
|
||||
export type { LayoutProps } from './layout';
|
||||
export { default as Layout, LayoutHeader, LayouSider, LayouFooter, LayouContent } from './layout';
|
||||
export {
|
||||
default as Layout,
|
||||
LayoutHeader,
|
||||
LayoutSider,
|
||||
LayoutFooter,
|
||||
LayoutContent,
|
||||
} from './layout';
|
||||
|
||||
export type { ListProps } from './list';
|
||||
export { default as List, ListItem, ListItemMeta } from './list';
|
||||
|
|
|
@ -35,7 +35,7 @@ const DatePicker = wrapPicker(
|
|||
readonly WeekPicker: typeof WrappedWeekPicker;
|
||||
};
|
||||
|
||||
const MonthPicker = wrapPicker(
|
||||
export const MonthPicker = wrapPicker(
|
||||
createPicker(MonthCalendar as any, MonthPickerProps, 'AMonthPicker'),
|
||||
MonthPickerProps,
|
||||
'month',
|
||||
|
@ -56,6 +56,6 @@ DatePicker.install = function (app: App) {
|
|||
return app;
|
||||
};
|
||||
|
||||
export { RangePicker, MonthPicker, WeekPicker };
|
||||
export { WrappedRangePicker as RangePicker, WrappedWeekPicker as WeekPicker };
|
||||
|
||||
export default DatePicker as typeof DatePicker & Plugin;
|
||||
|
|
|
@ -20,7 +20,12 @@ Input.install = function (app: App) {
|
|||
return app;
|
||||
};
|
||||
|
||||
export { Group as InputGroup, Search as InputSearch, TextArea, Password as InputPassword };
|
||||
export {
|
||||
Group as InputGroup,
|
||||
Search as InputSearch,
|
||||
TextArea as Textarea,
|
||||
Password as InputPassword,
|
||||
};
|
||||
|
||||
export default Input as typeof Input &
|
||||
Plugin & {
|
||||
|
|
|
@ -16,12 +16,11 @@ Layout.install = function (app: App) {
|
|||
app.component(Layout.Content.name, Layout.Content);
|
||||
return app;
|
||||
};
|
||||
const LayoutHeader = Layout.Header;
|
||||
const LayouFooter = Layout.Footer;
|
||||
const LayouSider = Layout.Sider;
|
||||
const LayouContent = Layout.Content;
|
||||
export const LayoutHeader = Layout.Header;
|
||||
export const LayoutFooter = Layout.Footer;
|
||||
export const LayoutSider = Layout.Sider;
|
||||
export const LayoutContent = Layout.Content;
|
||||
|
||||
export { LayoutHeader, LayouSider, LayouFooter, LayouContent };
|
||||
export default Layout as typeof Layout &
|
||||
Plugin & {
|
||||
readonly Sider: typeof Sider;
|
||||
|
|
|
@ -172,7 +172,7 @@ export default defineComponent({
|
|||
const childrenLength = children.length;
|
||||
let tooltipTitle: any = title;
|
||||
if (typeof title === 'undefined') {
|
||||
tooltipTitle = firstLevel ? children : '';
|
||||
tooltipTitle = firstLevel && childrenLength ? children : '';
|
||||
} else if (title === false) {
|
||||
tooltipTitle = '';
|
||||
}
|
||||
|
|
|
@ -53,15 +53,15 @@ Array [
|
|||
"InputGroup",
|
||||
"InputPassword",
|
||||
"InputSearch",
|
||||
"TextArea",
|
||||
"Textarea",
|
||||
"Image",
|
||||
"ImagePreviewGroup",
|
||||
"InputNumber",
|
||||
"Layout",
|
||||
"LayoutHeader",
|
||||
"LayouSider",
|
||||
"LayouFooter",
|
||||
"LayouContent",
|
||||
"LayoutSider",
|
||||
"LayoutFooter",
|
||||
"LayoutContent",
|
||||
"List",
|
||||
"ListItem",
|
||||
"ListItemMeta",
|
||||
|
|
Loading…
Reference in New Issue