File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
# 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 )
2
2
3
- 以下是在Vue3.0中使用的文档
3
+ 以下是在Vue3.x中使用的文档
4
4
5
5
** DEMO** : https://isluo.com/work/vue-puzzle-vcode/
6
6
13
13
npm install vue3- puzzle- vcode -- save
14
14
```
15
15
16
- ### 使用
17
-
18
- ``` vue
19
- import Vcode from "vue3-puzzle-vcode";
20
-
21
- <Vcode :show="isShow" @success="onSuccess" @close="onClose" />
22
- ```
23
-
24
16
### 最简单例子
25
17
``` vue
26
18
<template>
@@ -110,4 +102,13 @@ export default {
110
102
### 说明
111
103
112
104
- 当不传递 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出来时再加载
You can’t perform that action at this time.
0 commit comments