使用第三方的密码强度strength-meter,有两个问题:
1、this.comp("newPWInput").val()报错。去掉JS引用不报错。
Cannot read property 'val' of null
[url=]隐藏详细[/url]
TypeError: Cannot read property 'val' of null at Model.confirmBlur (http://localhost:8080/x5/UI2/v_bc4a0f0c8da44b7082b21934fee122ecl_en_USs_desktopd_pc/portal/base/changePassword/changePassword.js:60:70) at Object.extend._callModelFn (http://localhost:8080/x5/UI2/v_ae7cf45237704071bee20e12a969666bl_en_USs_desktopd_pc/system/core.min.js:71:264421) at HTMLInputElement.<anonymous> (http://localhost:8080/x5/UI2/v_ae7cf45237704071bee20e12a969666bl_en_USs_desktopd_pc/system/core.min.js:71:163509) at HTMLInputElement.h.event.dispatch (http://localhost:8080/x5/UI2/v_ae7cf45237704071bee20e12a969666bl_en_USs_desktopd_pc/system/core.min.js:71:53815) at HTMLInputElement.g.handle (http://localhost:8080/x5/UI2/v_ae7cf45237704071bee20e12a969666bl_en_USs_desktopd_pc/system/core.min.js:71:50452)
2、 登录后第一次打开生效,第二次失效,见附件