验证码控件部分样式调整
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@ import WordImageClick from "./word_image_click/word_image_click";
|
||||
import { CaptchaConfig, wrapConfig, wrapStyle } from "./config/config";
|
||||
import { clearAllPreventDefault } from "./common/common";
|
||||
const template = `
|
||||
<div class="captcha-parent">
|
||||
<div class="__captcha-parent">
|
||||
<div class="captcha-bg-img"></div>
|
||||
<div class="captcha-box">
|
||||
<div class="captcha-loading loading"></div>
|
||||
@@ -55,7 +55,7 @@ class TianAiCaptcha {
|
||||
init() {
|
||||
this.destroyWindow();
|
||||
this.config.domBindEl.append(template);
|
||||
this.domTemplate = this.config.domBindEl.find(".captcha-parent");
|
||||
this.domTemplate = this.config.domBindEl.find(".__captcha-parent");
|
||||
clearAllPreventDefault(this.domTemplate);
|
||||
this.loadStyle();
|
||||
// 绑定按钮事件
|
||||
|
||||
Reference in New Issue
Block a user