美文网首页
gitbook新版本"gitbook build&qu

gitbook新版本"gitbook build&qu

作者: 花小蓉 | 来源:发表于2019-02-19 11:29 被阅读1次
    • 在导出的文件夹目录下找到gitbook->theme.js文件
    • 找到下面的代码(搜索 if(m)for(n.handler&&
    if(false)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&de.find.matchesSelector(Ye,o),n.guid||(n.guid=de.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(t){return"undefined"!=typeof de&&de.event.triggered!==t.type?de.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(qe)||[""],l=t.length;l--;)s=Ze.exec(t[l])||[],h=g=s[1],d=(s[2]||"").split(".").sort(),h&&(f=de.event.special[h]||{},h=(o?f.delegateType:f.bindType)||h,f=de.event.special[h]||{},c=de.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&de.expr.match.needsContext.test(o),namespace:d.join(".")},i),(p=u[h])||(p=u[h]=[],p.delegateCount=0,f.setup&&f.setup.call(e,r,d,a)!==!1||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),de.event.global[h]=!0)}
    
    • 将if(m)改成if(false)


      需要输入本机密码授权
    • 点击Retry as Admin,输入开机密码


      修改之后
    • 再重新打开index就可以了

    转自:https://blog.csdn.net/weixin_42057852/article/details/81776917

    相关文章

      网友评论

          本文标题:gitbook新版本"gitbook build&qu

          本文链接:https://www.haomeiwen.com/subject/uysxyqtx.html