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 and lijinke666 committed Oct 25, 2024
1 parent 010ed05 commit 4140b3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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 @@ -519,9 +519,7 @@ content </div>
</p>
</template>

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

export default defineComponent({
Expand Down
4 changes: 1 addition & 3 deletions s2-site/docs/manual/basic/tooltip.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,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 4140b3b

Please sign in to comment.