feat: twikoo增加 region 配置

fix: 修復twikoo 廣州地域下,最新評論無法讀取的bugs
fix: 修復waline背景設定無效的bugs
fix: 修復twikoo 廣州地域下,page 頁進入post頁,twikoo評論報錯的bugs
This commit is contained in:
Jerry
2020-12-31 16:01:20 +08:00
parent 3bfb792b3c
commit c43546d6e5
5 changed files with 6 additions and 3 deletions

View File

@@ -5,8 +5,9 @@ script.
const $countDom = document.getElementById('twikoo-count')
const init = () => {
let initData = {
el: '#twikoo-wrap',
envId: '!{theme.twikoo.envId}',
el: '#twikoo-wrap'
region: '!{theme.twikoo.region}'
}
if (!{Boolean(option)}) {