Skip to content

Commit

Permalink
Merge pull request #77 from tuqulore/feat-localize-grid-component
Browse files Browse the repository at this point in the history
feat: グリッドコンポーネントの日本語化
  • Loading branch information
knokmki612 authored Feb 2, 2022
2 parents 35148b0 + 2489fba commit ad41969
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sample-grid-component/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ export default {
},
setup() {
const searchQuery = ref('')
const gridColumns = ref(['name', 'power'])
const gridColumns = ref(['名前', '戦闘力'])
const gridData = ref([
{name: 'Chuck Norris', power: Infinity},
{name: 'Bruce Lee', power: 9000},
{name: 'Jackie Chan', power: 7000},
{name: 'Jet Li', power: 8000}
{名前: 'チャック・ノリス', 戦闘力: Infinity},
{名前: 'ブルース・リー', 戦闘力: 9000},
{名前: 'ジャッキー・チェン', 戦闘力: 7000},
{名前: 'ジェット・リー', 戦闘力: 8000}
])
return {
searchQuery,
Expand All @@ -26,7 +26,7 @@ export default {

<template>
<form id="search">
Search
検索
<input name="query" v-model="searchQuery" />
</form>
<DemoGrid :heroes="gridData" :columns="gridColumns" :filter-key="searchQuery" />
Expand Down

0 comments on commit ad41969

Please sign in to comment.