File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ export class CompanyList
2323 @observable
2424 accessor type : WorkType = '996' ;
2525
26- @reaction ( ( { type } ) => type )
26+ @reaction ( function ( this : CompanyList ) {
27+ return this . type ;
28+ } )
2729 mountedCallback ( ) {
2830 companyStore . getList ( this . type ) ;
2931 }
Original file line number Diff line number Diff line change 11import 'mdui/components/button-icon' ;
22import 'mdui/components/list' ;
33import 'mdui/components/list-item' ;
4- import 'mdui/components/top-app-bar.js ' ;
5- import 'mdui/components/top-app-bar-title.js ' ;
6- import 'mdui/components/navigation-drawer.js ' ;
7- import 'mdui/components/layout.js ' ;
8- import 'mdui/components/layout-item.js ' ;
9- import 'mdui/components/layout-main.js ' ;
4+ import 'mdui/components/top-app-bar' ;
5+ import 'mdui/components/top-app-bar-title' ;
6+ import 'mdui/components/navigation-drawer' ;
7+ import 'mdui/components/layout' ;
8+ import 'mdui/components/layout-item' ;
9+ import 'mdui/components/layout-main' ;
1010
1111import { createRouter } from 'cell-router' ;
12- import type { Layout } from 'mdui/components/layout.js' ;
13- import type { LayoutItem } from 'mdui/components/layout-item.js' ;
14- import type { LayoutMain } from 'mdui/components/layout-main.js' ;
1512import { observable } from 'mobx' ;
1613import { attribute , component , observer } from 'web-cell' ;
1714
You can’t perform that action at this time.
0 commit comments