Skip to content

Commit 8f3adcf

Browse files
committed
fix: fix case error IconSubScript => IconSubscript
1 parent 6d9deb7 commit 8f3adcf

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/deploy-obs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ jobs:
4545
VITE_APP_BUILD_BASE_URL: //opentiny-assets.obs.cn-north-4.myhuaweicloud.com/tiny-vue-web-doc/${{ env.VERSION }}/
4646
- name: Copy files
4747
run: |
48-
cp ./index.html ./404.html
48+
ls
49+
ls examples/sites
50+
ls examples/sites/dist
51+
cp ./examples/sites/dist/index.html ./examples/sites/dist/404.html
4952
# ===== 下载 obsutil =====
5053
- name: Install obsutil
5154
run: |
@@ -63,5 +66,5 @@ jobs:
6366
-e=${{ env.HUAWEI_CLOUD_ENDPOINT }}
6467
6568
# 把本地 dist/ 目录整站同步到桶根目录
66-
mv dist ${{ env.VERSION }}
69+
mv examples/sites/dist ${{ env.VERSION }}
6770
obsutil cp ${{ env.VERSION }} obs://${{ env.HUAWEI_CLOUD_BUCKET }}/tiny-vue-web-doc/ -r -f

packages/vue/src/filter/src/tag-group.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
:class="['h-9 mt-3 float-left relative']"
3131
:style="{ width: state.tagWidth }"
3232
>
33-
<IconSubScript
33+
<IconSubscript
3434
v-if="state.selected.indexOf(item.value) !== -1 && multiple"
3535
class="absolute right-3 w-4 h-4 fill-color-icon-focus"
36-
></IconSubScript>
36+
></IconSubscript>
3737
<span
3838
:class="[
3939
'h-full block p-2 text-center rounded-sm truncate cursor-pointer border-0.5 mr-3',
@@ -53,11 +53,11 @@
5353
<script lang="ts">
5454
import { renderless, api } from '@opentiny/vue-renderless/filter/tag-group'
5555
import { setup, $props, defineComponent } from '@opentiny/vue-common'
56-
import { IconSubScript } from '@opentiny/vue-icon'
56+
import { iconSubscript } from '@opentiny/vue-icon'
5757
5858
export default defineComponent({
5959
emits: ['click', 'update:modelValue'],
60-
components: { IconSubScript: IconSubScript() },
60+
components: { IconSubscript: iconSubscript() },
6161
model: {
6262
prop: 'modelValue',
6363
event: 'update:modelValue'

0 commit comments

Comments
 (0)