Explorar o código

Update forms.md (#216)

修正"computed"位置错误
emondora %!s(int64=9) %!d(string=hai) anos
pai
achega
fe8605bf79
Modificáronse 1 ficheiros con 9 adicións e 9 borrados
  1. 9 9
      docs/zh-cn/forms.md

+ 9 - 9
docs/zh-cn/forms.md

@@ -50,15 +50,15 @@ vuex: {
     updateMessage: ({ dispatch }, value) => {
       dispatch('UPDATE_MESSAGE', value)
     }
-  },
-  computed: {
-    thisMessage: {
-      get () {
-        return this.message
-      },
-      set (val) {
-        this.updateMessage(val)
-      }
+  }
+},
+computed: {
+  thisMessage: {
+    get () {
+      return this.message
+    },
+    set (val) {
+      this.updateMessage(val)
     }
   }
 }