Skip to content

Commit

Permalink
fix: demo增加header (#2387)
Browse files Browse the repository at this point in the history
  • Loading branch information
irisSong authored Jun 27, 2024
1 parent 07b4858 commit 1aa816a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/packages/resultpage/demo.taro.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import { ScrollView, View } from '@tarojs/components'
import { useTranslate } from '@/sites/assets/locale/taro'
import Header from '@/sites/components/header'
import Demo1 from './demos/taro/demo1'
import Demo2 from './demos/taro/demo2'
import Demo3 from './demos/taro/demo3'
Expand Down Expand Up @@ -33,6 +34,7 @@ const ResultPageDemo = () => {
})
return (
<>
<Header />
<ScrollView className="demo">
<View className="h2">{translated.basic}</View>
<Demo1 />
Expand Down

0 comments on commit 1aa816a

Please sign in to comment.