Skip to content

Commit

Permalink
docs: 修复文档 vue demo (#2890)
Browse files Browse the repository at this point in the history
  • Loading branch information
akunlee authored Sep 10, 2024
1 parent e5b16c5 commit 11bb92c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions s2-site/docs/manual/basic/tooltip.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,7 @@ There are two ways to customize content in `Vue3` .
</p>
< /template>

< script
lang = "ts"
setup >
<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
Expand Down
2 changes: 1 addition & 1 deletion s2-site/docs/manual/basic/tooltip.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ const onRowCellHover = ({ event, viewMeta }) => {
<p>当前值:{{ meta?.label ?? meta?.fieldValue }}</p>
</template>

<script lang="ts" setup>
<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
Expand Down

0 comments on commit 11bb92c

Please sign in to comment.