1***@qq.com
1***@qq.com
  • 发布:2024-10-14 00:38
  • 更新:2024-10-16 14:26
  • 阅读:86

鸿蒙通过arguments配置启动时参数不生效

分类:鸿蒙Next
let configArguments: Record<string, object> = {  
    "setTheme": {  
      project: "test",  
      color: "light",  
      fontSize: "normal",  
      direction: "rtl", //ltr  
    } as IThemeSettings,  
  };  

  const uniMPOpenConfiguration: IOpenUniMPConfig = {  
    redirectPath: path,  
    arguments: configArguments,  
  };  

//..................
// 启动小程序
const mp = openUniMP(mpId,uniMPOpenConfiguration)

2024-10-14 00:38 负责人:无 分享
已邀请:
DCloud_UNI_LXH

DCloud_UNI_LXH

等一下 4.31 发版

要回复问题请先登录注册