照片墙初始化调用

This commit is contained in:
结发受长生 2019-05-12 14:41:06 +08:00
parent afc370d284
commit 2e97817463
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ window.AV = require('leancloud-storage')
// 评论配置
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.av = AV
new Valine(commentConfig.valine.config)

View File

@ -16,7 +16,7 @@ Util.addLoadEvent(function() {
if(window.themeConfig.pageid === 'PhotoWall') {
// 自定义的照片墙页面
import(/* webpackChunkName: "photo-wall" */ './photo-wall').then(PhotoWall => {
// PhotoWall.default.init()
PhotoWall.default.init()
})
}
})