iotgateway/WalkingTec.Mvvm/WalkingTec.Mvvm.Mvc/GeneratorFiles/Spa/React/index.txt

22 lines
645 B
Plaintext
Raw Normal View History

2021-12-14 06:10:44 +00:00
import * as React from 'react';
import { AuthorizeDecorator } from 'store/system/authorize';
import Store from './store';
import Action from './views/action';
import Other from './views/other';
import Search from './views/search';
import Table from './views/table';
@AuthorizeDecorator({ PageStore: Store })
export default class App extends React.Component<any, any> {
render() {
return (
<div className="app-page-$modelname$" key="app-page-$modelname$">
<Search {...this.props} />
<Action.pageAction {...this.props} />
<Table {...this.props} />
<Other {...this.props} />
</div>
);
}
}