Skip to content

Commit

Permalink
fix: img alt error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutter45 committed Aug 18, 2024
1 parent 67cd61a commit 17d0c7f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/docs/demo/component.demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ function handlePrintError(errorLocation: 'onBeforePrint' | 'print', err: Error)
>
<template #default="{ handlePrint }">
<div>
<button class=" px-2 bg-blue-7 hover:bg-blue-5 text-white rounded mb-2" @click="handlePrint">
<button class=" px-2 bg-blue-7 hover:bg-blue-5 text-white rounded mb-2" @click="handlePrint">
打 印
</button>
</div>
</template>
<template #content>
<div class="print-content">
<h1>打印内容</h1>
<img alt="Google logo" src="/logo.svg" width="200">
<img alt="vue-create-print logo" src="/logo.svg" width="200">
<div>{{ num }}</div>
<div class="flex">
<button class="px-2 bg-blue-7 hover:bg-blue-5 text-white rounded" @click="num++">
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/demo/fnc.demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ const handlePrint = createPrint({
<template>
<div>
<div>
<button class="px-2 bg-blue-7 hover:bg-blue-5 text-white rounded mb-2" @click="handlePrint">
<button class="px-2 bg-blue-7 hover:bg-blue-5 text-white rounded mb-2" @click="handlePrint">
打 印
</button>
</div>
<div ref="contentRef" class="print-content">
<h1>打印内容</h1>
<img alt="Google logo" src="/logo.svg" width="200">
<img alt="vue-create-print logo" src="/logo.svg" width="200">
<div>{{ num }}</div>
<div class="flex">
<button class="px-2 bg-blue-7 hover:bg-blue-5 text-white rounded" @click="num++">
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/en/demo/component.demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function handlePrintError(errorLocation: 'onBeforePrint' | 'print', err: Error)
<template #content>
<div class="print-content">
<h1>print content</h1>
<img alt="Google logo" src="/logo.svg" width="200">
<img alt="vue-create-print logo" src="/logo.svg" width="200">
<div>{{ num }}</div>
<div class="flex">
<button class="px-2 bg-blue-7 hover:bg-blue-5 text-white rounded" @click="num++">
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/en/demo/fnc.demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ const handlePrint = createPrint({
<template>
<div>
<div>
<button class="px-2 bg-blue-7 hover:bg-blue-5 text-white rounded mb-2" @click="handlePrint">
<button class="px-2 bg-blue-7 hover:bg-blue-5 text-white rounded mb-2" @click="handlePrint">
print
</button>
</div>
<div ref="contentRef" class="print-content">
<h1>print content</h1>
<img alt="Google logo" src="/logo.svg" width="200">
<img alt="vue-create-print logo" src="/logo.svg" width="200">
<div>{{ num }}</div>
<div class="flex">
<button class="px-2 bg-blue-7 hover:bg-blue-5 text-white rounded" @click="num++">
Expand Down

0 comments on commit 17d0c7f

Please sign in to comment.