适配鸿蒙

This commit is contained in:
icssoa
2025-08-03 13:40:19 +08:00
parent 65fa57a3f2
commit e2c62a20fc
4 changed files with 18 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ const props = defineProps({
// 画布宽度
width: {
type: Number,
default: () => uni.getWindowInfo().windowWidth
default: 300
},
// 画布高度
height: {