File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1
1
/* Automatic generated by './build/build-entry.js' */
2
2
3
- import utils from './utils/index ' ;
4
- import locale from './locale/index ' ;
3
+ import utils from 'fm-vue-ui/src/utils ' ;
4
+ import locale from 'fm-vue-ui/src/locale ' ;
5
5
6
6
import Button from '../components/button/index.js' ;
7
7
import Dialog from '../components/dialog/index.js' ;
@@ -75,7 +75,7 @@ export {
75
75
} ;
76
76
77
77
export default {
78
- version : '1.1.6 ' ,
78
+ version : '2.0.0 ' ,
79
79
install,
80
80
Button,
81
81
Dialog,
Original file line number Diff line number Diff line change 1
- import locale from 'main /locale/index.js' ;
1
+ import locale from 'fm-vue-ui/src /locale/index.js' ;
2
2
3
3
export default {
4
- beforeCreate ( ) {
5
- this . $ft = locale . t ;
6
- this . $fl = locale . getLocale ( ) ;
4
+ computed : {
5
+ $fl ( ) {
6
+ return locale . getLocale ( ) ;
7
+ }
8
+ } ,
9
+
10
+ methods : {
11
+ $ft ( ...args ) {
12
+ return locale . t . apply ( this , args ) ;
13
+ }
7
14
}
8
15
} ;
You can’t perform that action at this time.
0 commit comments