HarmonyOS module.json5中的权限声明中reason写成字符串报错String violates the pattern: '^\[$\]string:\[0-9a-zA-Z\_.\]+|\(?=.\*\[\{\]\)\(?=.\*\[\}\]\)\[0-9a-zA-Z\_.\{\}\]+$'?

如题:HarmonyOS module.json5中的权限声明中reason写成字符串报错String violates the pattern: '^[$\]string:\[0-9a-zA-Z\_.\]+|\(?=.\*\[\{\]\)\(?=.\*\[\}\]\)\[0-9a-zA-Z\_.\{\}\]+$'?

阅读 550