Authored by
ccbikai
前端 ES6 测试
|
@@ -11,7 +11,7 @@ |
|
@@ -11,7 +11,7 @@ |
11
|
var s = 1; // 测试代码检查
|
11
|
var s = 1; // 测试代码检查
|
12
|
|
12
|
|
13
|
module.exports = {
|
13
|
module.exports = {
|
14
|
- data: function() {
|
14
|
+ data() {
|
15
|
return {
|
15
|
return {
|
16
|
message: 'test',
|
16
|
message: 'test',
|
17
|
message2: 'test2'
|
17
|
message2: 'test2'
|