skyblued 2 lat temu
rodzic
commit
6c2c619016
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/components/o-header/index.tsx

+ 2 - 2
src/components/o-header/index.tsx

@@ -165,8 +165,8 @@ export default defineComponent({
                 fixed={this.isFixed}
                 zIndex={2000}
                 border={this.border}
-                onClick-right={() => this.clickRight()}
-                onClick-left={this.onClickLeft}
+                onClickLeft={this.onClickLeft}
+                onClickRight={this.clickRight}
                 v-slots={{
                   right: () => (this.$slots.right && this.$slots.right()) || this.rightText,
                   title: () => (this.$slots.title && this.$slots.title()) || this.headerTitle