有两种主要方式:设置为指示器模式: 将构造函数中的 indicator 参数设为 true。Rating({ rating: this.score, indicator: true })。使用 .enabled() 属性: 使用通用的 .enabled(false) 属性。
有两种主要方式:
indicator参数设为true。Rating({ rating: this.score, indicator: true })。.enabled()属性: 使用通用的.enabled(false)属性。