完善后台评论管理
This commit is contained in:
parent
41875a39e8
commit
befa2e1679
@ -265,6 +265,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.editorObj = new window.Vditor('editor', {
|
window.editorObj = new window.Vditor('editor', {
|
||||||
toolbar: [
|
toolbar: [
|
||||||
'emoji',
|
'emoji',
|
||||||
|
@ -65,7 +65,6 @@ window.onload = function () {
|
|||||||
window.Vditor = vditor
|
window.Vditor = vditor
|
||||||
|
|
||||||
window.authSuccess = (data) => { // eslint-disable-line
|
window.authSuccess = (data) => { // eslint-disable-line
|
||||||
console.log('授权成功', data)
|
|
||||||
if (data.status === 1) {
|
if (data.status === 1) {
|
||||||
try {
|
try {
|
||||||
if (window.setAuthToken) { window.setAuthToken(data.result.token, data.result.visitorInfo) }
|
if (window.setAuthToken) { window.setAuthToken(data.result.token, data.result.visitorInfo) }
|
||||||
|
Loading…
Reference in New Issue
Block a user