升级:VitePress 版本升级为 v1.0.0-alpha.8
This commit is contained in:
@@ -48,7 +48,7 @@ onMounted(() => {
|
||||
// 如果点赞,先判断有没有登录
|
||||
let $gc = $('#comment-container');
|
||||
$gc.on('click', '.gt-comment-like', function () {
|
||||
if (!localStorage.getItem('GT_ACCESS_TOKEN')) {
|
||||
if (!window.localStorage.getItem('GT_ACCESS_TOKEN')) {
|
||||
Message.warning({
|
||||
content:'点赞前,请您先进行登录',
|
||||
closable: true
|
||||
|
||||
Reference in New Issue
Block a user