skyblued 2 년 전
부모
커밋
6c2c619016
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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