, '只能填写数字'],
            date: [/(^$)|^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/, "日期格式不正确"],
            identity: [/(^$)|(^\d{15}$)|(^\d{17}(x|X|\d)$)/, "请输入正确的身份证号"],
            totp: function(value){
                var validChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
                var key = value.replace(/\s+/g, ''); // 去除空格
                if (key.length % 8 !== 0) {
                    return 'TOTP 密钥长度