我们在组件本身中是否有类似私有静态变量的东西。不像Global Constants,而是类(组件)本身私有的东西。
你需要private readonly constant = 'constant';
private readonly constant = 'constant'