mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
chore: 🚀 添加百度统计
This commit is contained in:
parent
7f2ccb2d37
commit
73fae20e4f
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Author: weisheng
|
||||
* @Date: 2023-07-27 10:26:09
|
||||
* @LastEditTime: 2025-05-06 15:18:36
|
||||
* @LastEditTime: 2025-05-06 22:21:18
|
||||
* @LastEditors: weisheng
|
||||
* @Description:
|
||||
* @FilePath: /wot-design-uni/docs/.vitepress/config.mts
|
||||
@ -89,9 +89,6 @@ export default defineConfig({
|
||||
['script', { src: '/petercatai/antd.js' }],
|
||||
['script', { src: '/petercatai/lottie.js' }],
|
||||
['script', { src: '/petercatai/assistant.min.js' }],
|
||||
['script', {}, `
|
||||
!function(p){"use strict";!function(t){var s=window,e=document,i=p,c="".concat("https:"===e.location.protocol?"https://":"http://","sdk.51.la/js-sdk-pro.min.js"),n=e.createElement("script"),r=e.getElementsByTagName("script")[0];n.type="text/javascript",n.setAttribute("charset","UTF-8"),n.async=!0,n.src=c,n.id="LA_COLLECT",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:"3J4q4tM6fN0n1fbZ",ck:"3J4q4tM6fN0n1fbZ"});
|
||||
`],
|
||||
['script', {}, `
|
||||
window.onload = function() {
|
||||
PetercatLUI.initAssistant({
|
||||
@ -101,6 +98,15 @@ export default defineConfig({
|
||||
hideLogo: true,
|
||||
});
|
||||
}
|
||||
`],
|
||||
['script', {}, `
|
||||
var _hmt = _hmt || [];
|
||||
(function() {
|
||||
var hm = document.createElement("script");
|
||||
hm.src = "https://hm.baidu.com/hm.js?c77588a5308ea5813c1d46bdd849338b";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
`]
|
||||
],
|
||||
themeConfig: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user