|
将customTranslate文件夹拷贝到项目里,然后在初始化的时候加上如下代码: L% T& d! f; j& s
' `8 ]+ v) T8 f
首先引入import customTranslate from './customTranslate/customTranslate';" K p) u) B$ H5 _& P3 s
7 K* b" b; m; @/ v: I
初始化:: W; `$ v5 K' A( U$ h* R& X
var customTranslateModule = {
) K. L0 o* }3 g. D1 I" p translate: [ 'value', customTranslate ]
2 a3 I8 h# U% p+ E: ^7 _) c* [; e };4 b3 \ g% M' N0 M/ c! b
w, l- J& y/ |& L% {0 e
const canvas = this.$refs.canvas;
4 u$ ]6 J6 T2 D
' r4 P0 S- P/ s: U! b% \
% S- X$ `" r) L6 q' U9 {- I& }资源下载地址和密码(百度云盘): [/hide] 百度网盘信息回帖可见+ H% K( R, Q5 U4 M5 p' w/ `, U
4 ^9 G$ i& Q5 X" K! a2 v$ O, {; Q: k7 [. g5 b
/ v) _; k; u z( l6 b本资源由Java自学网收集整理【www.javazx.com】 |
|