Skip to content

Commit 4a25af1

Browse files
authored
fix: fix case error IconSubScript => IconSubscript (#3852)
1 parent a9a4ebb commit 4a25af1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/deploy-obs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ 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+
cp ./examples/sites/dist/index.html ./examples/sites/dist/404.html
4949
# ===== 下载 obsutil =====
5050
- name: Install obsutil
5151
run: |
@@ -63,5 +63,5 @@ jobs:
6363
-e=${{ env.HUAWEI_CLOUD_ENDPOINT }}
6464
6565
# 把本地 dist/ 目录整站同步到桶根目录
66-
mv dist ${{ env.VERSION }}
66+
mv examples/sites/dist ${{ env.VERSION }}
6767
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)