0%

optionals 标签

2020
var GUEST = ['nick', 'mail', 'link']; var guest = 'nick,mail,link'; guest = guest.split(',').filter(item => { return GUEST.includes(item); }); new Valine({ el : '#valine-comments', verify : false, notify : true, appId : 'rfRdmQpsk2Crnz747tDDOu26-gzGzoHsz', appKey : 'eyu1k9BeINgR5FuXzbc969UA', placeholder: "写出你的想法……", avatar : 'mm', meta : guest, pageSize : '10' || 10, visitor : false, lang : 'zh-cn' || 'zh-cn', path : location.pathname, recordIP : true, serverURLs : '' }); }, window.Valine); });