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)