API

api 合并

tips 和 comfirm

更新 Fork 仓库(API)

# 添加上游远程仓库
# 1. API
 git remote add upstream https://gitee.com/openharmony/interface_sdk-js.git
# 2. ACE_ENGINE
git remote add upstream https://gitee.com/openharmony/arkui_ace_engine.git

# 拉取新设置的上游代码库
git fetch upstream
# 合并上游代码库和本地分支
git merge upstream/master

ETS

  1. Gitee 强制同步最新代码
  2. 拉取代码后 Merge

冲突

  1. CustomDialogComponent ===> updateCustomStyle 方法【版本隔离】
  2. LengthMetrics
  3. ConfirmDialog

背板问题

  1. confirmDialog测试的时候:需要将 customDialog 设置为 False
  2. 版本隔离:
  • API12 无背板(白色背景)
    • 设置为 true:无背板
    • 设置为 false:有背板
  • 其它版本有背板

需要参数的组件(@Prop)


不同宽度、不同设备之下的预览效果 ===> @Preview 去增加参数

日志打印

hilog

posted @ 2024-05-19 23:22  爱新觉罗LQ  阅读(3)  评论(0编辑  收藏  举报