go-captcha-vue 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Go Captcha Vue Package
2
2
 
3
+ <p> ⭐️ If it helps you, please give a star.</p>
4
+ <img src="http://47.104.180.148/go-captcha/go-captcha-v2.jpg" alt="Poster">
5
+
6
+
3
7
  <br/>
4
8
 
5
9
  | Vue Version | Go Captcha Version |
@@ -192,19 +196,22 @@ interface RotateEvents {
192
196
 
193
197
  ## Button
194
198
  ```vue
195
- <gocaptcha-button />
199
+ <gocaptcha-button @clickEvent="() => console.log('hello')"/>
196
200
  ```
197
201
 
198
202
  ### params
199
203
  ```ts
200
- interface _ {
201
- config?: ButtonConfig;
202
- clickEvent?: () => void;
204
+ interface $Attr {
205
+ config?: CaptchaConfig;
203
206
  disabled?: boolean;
204
207
  type?: "default" | "warn" | "error" | "success";
205
208
  title?: string;
206
209
  }
207
210
 
211
+ interface $Event {
212
+ clickEvent?: ()=>void; // event -> @clickEvent=""
213
+ }
214
+
208
215
  export interface ButtonConfig {
209
216
  width?: number;
210
217
  height?: number;
@@ -216,10 +223,8 @@ export interface ButtonConfig {
216
223
 
217
224
  <br/>
218
225
 
219
- ## 🍹 Buy me a coffee
226
+ ## 👍 Sponsor
220
227
  <div>
221
- <a href="http://witkeycode.com/sponsor" target="_blank"><img src="http://47.104.180.148/payment-code/wxpay.png" alt="Buy Me A Coffee" style="width: 217px !important;" ></a>
222
- <a href="http://witkeycode.com/sponsor" target="_blank"><img src="http://47.104.180.148/payment-code/alipay.png" alt="Buy Me A Coffee" style="width: 217px !important;" ></a>
228
+ <a href="http://gocaptcha.wencodes.com/sponsor/" target="_blank">http://gocaptcha.wencodes.com/sponsor/</a>
223
229
  </div>
224
-
225
230
  <br/>