File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 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
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出来时再加载
You can’t perform that action at this time.
0 commit comments