forked from p96170835/amis
为了方便编辑器 hack :(
This commit is contained in:
parent
9cf6d9adde
commit
08dce61461
|
@ -201,7 +201,7 @@ export default class Tabs extends React.Component<TabsProps, TabsState> {
|
|||
: -1;
|
||||
}
|
||||
|
||||
render() {
|
||||
renderTabs() {
|
||||
const {
|
||||
classnames: cx,
|
||||
classPrefix: ns,
|
||||
|
@ -260,6 +260,10 @@ export default class Tabs extends React.Component<TabsProps, TabsState> {
|
|||
</CTabs>
|
||||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
return this.renderTabs();
|
||||
}
|
||||
}
|
||||
|
||||
@Renderer({
|
||||
|
|
|
@ -683,7 +683,7 @@ export default class Wizard extends React.Component<WizardProps, WizardState> {
|
|||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
renderWizard() {
|
||||
const {className, steps, render, store, mode, classPrefix: ns} = this.props;
|
||||
|
||||
const currentStep = this.state.currentStep;
|
||||
|
@ -745,6 +745,10 @@ export default class Wizard extends React.Component<WizardProps, WizardState> {
|
|||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
return this.renderWizard();
|
||||
}
|
||||
}
|
||||
|
||||
function isJumpable(step: any, index: number, currentStep: number, data: any) {
|
||||
|
|
Loading…
Reference in New Issue