Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 42269e9

Browse files
committed
update
1 parent c43dbe5 commit 42269e9

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

‎README3.md‎

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vue3-puzzle-vcode [![npm](https://img.shields.io/npm/v/vue3-puzzle-vcode.svg)](https://www.npmjs.com/package/vue3-puzzle-vcode) [![npm downloads](https://img.shields.io/npm/dt/vue3-puzzle-vcode.svg)](https://www.npmjs.com/package/vue3-puzzle-vcode)
22

3-
以下是在Vue3.0中使用的文档
3+
以下是在Vue3.x中使用的文档
44

55
**DEMO**: https://isluo.com/work/vue-puzzle-vcode/
66

@@ -13,14 +13,6 @@
1313
npm install vue3-puzzle-vcode --save
1414
```
1515

16-
### 使用
17-
18-
```vue
19-
import Vcode from "vue3-puzzle-vcode";
20-
21-
<Vcode :show="isShow" @success="onSuccess" @close="onClose" />
22-
```
23-
2416
### 最简单例子
2517
```vue
2618
<template>
@@ -110,4 +102,13 @@ export default {
110102
### 说明
111103

112104
- 当不传递 imgs 字段或图片加载出错时,会自动生成随机图片
113-
- 模态框的显示和隐藏完全由父级控制,所以用户通过验证后,需要手动隐藏模态框
105+
- 模态框的显示和隐藏完全由父级控制,所以用户通过验证后,需要手动隐藏模态框
106+
107+
### 更新日志
108+
2021年10月12日 - 1.0.2<br/>
109+
- 修复:删除了一个无用的ref变量引用,这个引用可能导致在vue3.2.19及以下的版本中出现问题
110+
111+
2021年10月12日 - 1.0.1<br/>
112+
- 修复:重复加载图片的问题
113+
- 修复:png图片的透明部分现在会用白色填充
114+
- 更新:初始化时不再自动加载图片,直到show出来时再加载

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /