插入客服插件

This commit is contained in:
frankkeres 2025-04-17 10:44:30 +08:00
parent 49dcbf5e95
commit 52452328e8

View File

@ -18,6 +18,11 @@ export default {
`,
type: 'text/javascript',
},
{
innerHTML: `(function(d,w,c){if(w[c])return;var s=d.createElement("script");w[c]=function(){(w[c].z=w[c].z||[]).push(arguments);};s.async=true;s.src="https://static.ahc.ink/hecong.js";if(d.head)d.head.appendChild(s);})(document,window,"_AIHECONG");_AIHECONG("ini",{channelId:"9BgJ9p"});`,
type: 'text/javascript',
body: true
}
],
__dangerouslyDisableSanitizers: ['script'], // 允许内联脚本
htmlAttrs: {