1. Ribbon's attribute configuration and class configuration, which has higher priority
Class configuration priority is high
2. Interpretation of Ribbon's attribute configuration and class configuration priority source code
According to the ribbonRule method in the RibbonClientConfiguration class, class configuration is used first, then attribute configuration, and finally, if neither class configuration nor attribute configuration uses the ribbon's own configuration, as shown in the following figure: