Skip to content

Commit a076e96

Browse files
committed
dpcs
1 parent d5a476b commit a076e96

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

docs/en/class-component/accessor/code-writable.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ import { Component, Vue } from 'vue-facing-decorator'
44
/*
55
Vue options API
66
{
7+
data(){
8+
return {
9+
foo:''
10+
}
11+
},
712
computed:{
8-
set(){
9-
return 'value'
13+
set(bar){
14+
this.foo = bar
1015
}
1116
}
1217
}

docs/en/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Suggestion and contribution welcome.
2323

2424
[To discord https://discord.gg/4exxtFgkcz](https://discord.gg/4exxtFgkcz)
2525

26-
# Documents translation wanted
26+
# Document translations wanted
2727

28-
If you would like to help us to improve out documents, follow the steps:
28+
If you would like to help us to improve document translations, follow the steps:
2929

3030
1. **Fork and clone this repo
3131
3. cd repo/docs

docs/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Suggestion and contribution welcome.
2323

2424
[To discord https://discord.gg/4exxtFgkcz](https://discord.gg/4exxtFgkcz)
2525

26-
# Documents translation wanted
26+
# Document translations wanted
2727

28-
If you would like to help us to improve out documents, follow the steps:
28+
If you would like to help us to improve document translations, follow the steps:
2929

3030
1. **Fork and clone this repo
3131
3. cd repo/docs

docs/zh-cn/class-component/accessor/code-writable.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ import { Component, Vue } from 'vue-facing-decorator'
44
/*
55
Vue options API
66
{
7+
data(){
8+
return {
9+
foo:''
10+
}
11+
},
712
computed:{
8-
set(){
9-
return 'value'
13+
set(bar){
14+
this.foo = bar
1015
}
1116
}
1217
}

0 commit comments

Comments
 (0)