|
|
const Validate = require('plugin/validata');
|
|
|
const $captcha = $('#js-img-check');
|
|
|
|
|
|
let validate = new Validate('#js-img-check', {
|
|
|
useREM: {
|
|
|
rootFontSize: 40,
|
|
|
picWidth: 150
|
|
|
}
|
|
|
});
|
|
|
|
|
|
if ($captcha.data('userverify')) {
|
|
|
validate.init();
|
|
|
}
|
|
|
|
|
|
require('./code')(true, true); |
...
|
...
|
|