• This project
    • Loading...
  • Sign in

developOne / harmonyPool

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • harmonyPool
  • ..
  • skeleton
  • DefaultPage.ets
  • fix: 大专题卡显示音视频信息 · a01abc86
    a01abc86 Browse Files
    douaojie authored 2024-04-29 17:40:25 +0800
DefaultPage.ets 390 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import { EmptyComponent } from '../view/EmptyComponent'

@Entry
@Component
export struct DefaultPage {
  @State type: number = 15

  retry() {
    console.log('daj点击了重试')
  }

  build() {
    Row() {
      EmptyComponent({
        emptyType: this.type,
        retry: () => {
          this.retry()
        }
      })
      // .height('612lpx')
      // .width('100%')
    }
  }
}