rayyy-vue-table-components 1.2.14 → 1.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rayyy-vue-table-components",
3
- "version": "1.2.14",
3
+ "version": "1.2.16",
4
4
  "description": "Vue 3 + Element Plus 表格組件庫",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
@@ -125,7 +125,6 @@
125
125
  "vite": "^6.2.1",
126
126
  "vite-plugin-dts": "^4.5.4",
127
127
  "vite-plugin-vue-devtools": "^7.7.2",
128
- "vite-svg-loader": "^5.1.0",
129
128
  "vitest": "^3.0.8",
130
129
  "vue": "^3.5.13",
131
130
  "vue-router": "^4.5.0",
@@ -4,8 +4,6 @@ import { useWindowSize } from '@vueuse/core'
4
4
  import { BaseBtn } from '@/components'
5
5
  import { Search, Filter } from '@element-plus/icons-vue'
6
6
  import { layoutStore } from '@/stores/layoutStore.ts'
7
- import IconFilter from '@/assets/icons/icon-filter.svg?component'
8
- import IconFilterBlue from '@/assets/icons/icon-filter-blue.svg?component'
9
7
 
10
8
  const { width } = useWindowSize()
11
9
 
@@ -45,9 +43,13 @@ const submitFilter = () => {
45
43
  type="primary"
46
44
  v-if="badgeValue && badgeValue > 0"
47
45
  >
48
- <IconFilterBlue class="filter-icon fill-icon" />
46
+ <el-icon class="filter-icon fill-icon">
47
+ <Filter />
48
+ </el-icon>
49
49
  </el-badge>
50
- <IconFilter v-else class="filter-icon" />
50
+ <el-icon v-else class="filter-icon">
51
+ <Filter />
52
+ </el-icon>
51
53
  </base-btn>
52
54
  <el-drawer v-model="showDrawer" append-to-body :size="computedDrawerSize">
53
55
  <template #header>