From eb3a9bc4a3aae1a362a772274dffc3eaf156840f Mon Sep 17 00:00:00 2001 From: JiwenBai Date: Mon, 12 Aug 2019 20:21:28 +0800 Subject: [PATCH] fixed(advance-table-sorticon): click icon key is not correcting --- package.json | 2 +- .../common/AdvanceTable/sortIcon/index.vue | 61 +++++++++++-------- packages/common/AdvanceTable/src/main.vue | 8 +-- 3 files changed, 41 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index f6e349e9f..96aee823b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "naive-ui", - "version": "0.2.88", + "version": "0.2.89", "description": "", "main": "index.js", "scripts": { diff --git a/packages/common/AdvanceTable/sortIcon/index.vue b/packages/common/AdvanceTable/sortIcon/index.vue index ad5c2a8bc..eb7424baa 100644 --- a/packages/common/AdvanceTable/sortIcon/index.vue +++ b/packages/common/AdvanceTable/sortIcon/index.vue @@ -4,7 +4,7 @@ type="md-arrow-dropdown" :style="{ fontSize: fontSize, - opacity: downOpacity, + opacity: opacitys.downOpacity, transform: 'scale(0.8)' }" @click.native="changeDownSort()" @@ -13,7 +13,7 @@ type="md-arrow-dropup" :style="{ fontSize: fontSize, - opacity: upOpacity, + opacity: opacitys.upOpacity, transform: 'scale(0.8)' }" @click.native="changeUpSort()" @@ -22,6 +22,23 @@