File tree 7 files changed +7
-7
lines changed
7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
exports . prompts = [ {
3
3
name : 'logic' ,
4
4
type : 'confirm' ,
5
- message : 'Use no- flux?'
5
+ message : 'Use refast flux?'
6
6
} ] ;
7
7
8
8
// answer for mod
Original file line number Diff line number Diff line change 2
2
import { withRouter } from 'react-router' ; < % } else { % >
3
3
import { render } from 'react-dom' ; < % } % > < % if ( i18n ) { % >
4
4
import i18n from 'i18n' ; < % } % > < % if ( logic ) { % >
5
- import { Component } from 'no-flux ' ;
5
+ import { Component } from 'refast ' ;
6
6
import logic from './logic' ;
7
7
import './Page<%- Name %>.less' ;
8
8
Original file line number Diff line number Diff line change 15
15
"license" : " MIT" ,
16
16
"dependencies" : {<% if (i18n) { %>
17
17
"i18n-helper" : " ~1.1.1" ,<% } %>
18
- "no-flux " : " latest" ,
18
+ "refast " : " latest" ,
19
19
"natty-storage" : " ~2.0.2" ,
20
20
"natty-fetch" : " ~2.4.2" ,
21
21
"uxcore" : " latest"
Original file line number Diff line number Diff line change 1
- import { setup , LogicRender } from 'no-flux ' ;
1
+ import { setup , LogicRender } from 'refast ' ;
2
2
import Message from 'uxcore/lib/Message' ;
3
3
import Dialog from 'uxcore/lib/Dialog' ;
4
4
import EmptyData from 'uxcore/lib/EmptyData' ;
Original file line number Diff line number Diff line change 1
- import { Component , LogicRender } from 'no-flux ' ; < % if ( SPA ) { % >
1
+ import { Component , LogicRender } from 'refast ' ; < % if ( SPA ) { % >
2
2
import { withRouter } from 'react-router' ; < % } else { % >
3
3
import { render } from 'react-dom' ; < % } % > < % if ( i18n ) { % >
4
4
import i18n from 'i18n' ; < % } % >
Original file line number Diff line number Diff line change 1
- import { Component , LogicRender } from 'no-flux ' ; < % if ( SPA ) { % >
1
+ import { Component , LogicRender } from 'refast ' ; < % if ( SPA ) { % >
2
2
import { withRouter } from 'react-router' ; < % } else { % >
3
3
import { render } from 'react-dom' ; < % } % > < % if ( i18n ) { % >
4
4
import i18n from 'i18n' ; < % } % >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default {
13
13
// 其第一个参数会被设置为 ctx,
14
14
// 它原生带了 setState/getState/getProps 三个方法
15
15
// 和用户定义的 fn
16
- // fn 上挂在了在no-flux-conf .js中定义的 dialog 和 message、DB
16
+ // fn 上挂在了在app .js中定义的 dialog 和 message、DB
17
17
updateState ( ctx , data ) {
18
18
ctx . setState ( data ) ;
19
19
// 如果返回 false,就不会执行下面的了
You can’t perform that action at this time.
0 commit comments