第4项:对页面、表单及两版共享规则启用严格类型检查
This commit is contained in:
1 parent
389952f31c
commit
f570929cfe
77 files changed
+7629
-2981
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import type { OrderContext } from './viewTypes';
|
||||
import { sharedViews } from './views/sharedViews';
|
||||
import { orderBook } from './views/orderBook';
|
||||
import { orderDetail } from './views/orderDetail';
|
||||
import { orderActions } from './views/orderActions';
|
||||
import { orderReviews } from './views/orderReviews';
|
||||
import { afterSales } from './views/afterSales';
|
||||
export function orderViews(context: OrderContext) {
|
||||
const shared = sharedViews(context);
|
||||
return {
|
||||
...shared,
|
||||
...orderBook(context, shared),
|
||||
...orderDetail(context, shared),
|
||||
...orderActions(context, shared),
|
||||
...orderReviews(context, shared),
|
||||
...afterSales(context, shared),
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user