/** * @inheritdoc */ public function attributeLabels() { $attributeLabels = parent::attributeLabels(); $attributeLabels['parent'] = '上级角色'; return $attributeLabels; }