未验证 提交 ef0f6485 编写于 作者: O openharmony_ci 提交者: Gitee

!3823 适配ace子系统xts编译xts hap包error报错

Merge pull request !3823 from zj/master
......@@ -18,8 +18,8 @@ import router from '@system.router'
@Entry
@Component
struct dataPanel_testcase {
@State width: string= "200"
@State height: string= "100"
@State myWidth: string= "200"
@State myHeight: string= "100"
@State active: boolean = false
private content: string = "DataPanel Page"
......@@ -36,8 +36,8 @@ struct dataPanel_testcase {
Text(`${this.content}`)
.fontSize(50)
DataPanel({ values: [20, 40, 20], max: 100, type: DataPanelType.Line })
.width(this.width)
.height(this.height)
.width(this.myWidth)
.height(this.myHeight)
.key('DataPanel')
.onClick(() => {
router.back()
......@@ -45,16 +45,16 @@ struct dataPanel_testcase {
.closeEffect(false)
DataPanel({ values: [20, 40, 20], max: 100, type: DataPanelType.Circle})
.width(this.width)
.height(this.height)
.width(this.myWidth)
.height(this.myHeight)
.key('DataPanel2')
.onClick(() => {
router.back()
})
.closeEffect(true)
DataPanel({ values: [20, 40, 20], max: 100})
.width(this.width)
.height(this.height)
.width(this.myWidth)
.height(this.myHeight)
.key('DataPanel3')
.onClick(() => {
router.back()
......
......@@ -16,8 +16,8 @@
@Entry
@Component
struct image_textcase {
@State Width: number = 0
@State height: number = 0
@State myWidth: number = 0
@State myHeight: number = 0
onPageShow() {
console.info('Image page show called');
......@@ -58,10 +58,10 @@ struct image_textcase {
width: number,
height: number
}) => {
this.Width = msg.width
this.height = msg.height
console.info('Width ----' + this.Width)
console.info('height ----' + this.height)
this.myWidth = msg.width
this.myHeight = msg.height
console.info('Width ----' + this.myWidth)
console.info('height ----' + this.myHeight)
})
.onError(() => {
console.info('load image fail')
......
......@@ -18,7 +18,6 @@
struct slider {
@State inSetValue: number= 40
@State outSetValue: number= 40
@State direction: Axis= Axis.Horizontal
@State Begin: number = SliderChangeMode.Begin
onPageShow() {
......
......@@ -43,7 +43,7 @@ struct SwiperExample {
private swiperController: SwiperController = new SwiperController()
private data: MyDataSource = new MyDataSource([])
private aboutToAppear(): void {
aboutToAppear(): void {
let list = []
for (var i = 1; i <= 10; i++) {
list.push(i.toString());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册