照片墙初始化调用
This commit is contained in:
parent
afc370d284
commit
2e97817463
@ -9,7 +9,7 @@ window.AV = require('leancloud-storage')
|
|||||||
// 评论配置
|
// 评论配置
|
||||||
const commentConfig = require("../config/comment.json")
|
const commentConfig = require("../config/comment.json")
|
||||||
|
|
||||||
import(/* webpackChunkName: "valine" */ '../lib/Valine.min').then((: Valine }) => {
|
import(/* webpackChunkName: "valine" */ '../lib/Valine.min').then(({default: Valine }) => {
|
||||||
commentConfig.valine.config.path = window.location.pathname
|
commentConfig.valine.config.path = window.location.pathname
|
||||||
// commentConfig.valine.config.av = AV
|
// commentConfig.valine.config.av = AV
|
||||||
new Valine(commentConfig.valine.config)
|
new Valine(commentConfig.valine.config)
|
||||||
|
|||||||
@ -16,7 +16,7 @@ Util.addLoadEvent(function() {
|
|||||||
if(window.themeConfig.pageid === 'PhotoWall') {
|
if(window.themeConfig.pageid === 'PhotoWall') {
|
||||||
// 自定义的照片墙页面
|
// 自定义的照片墙页面
|
||||||
import(/* webpackChunkName: "photo-wall" */ './photo-wall').then(PhotoWall => {
|
import(/* webpackChunkName: "photo-wall" */ './photo-wall').then(PhotoWall => {
|
||||||
// PhotoWall.default.init()
|
PhotoWall.default.init()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user