feat: All Pages directory handling
This commit is contained in:
1 parent
f44d0a3c44
commit
0d3e10edda
3 files changed
+25
-5
No files matched your search
@@ -4,6 +4,8 @@ import $ from 'jquery'
|
||||
import Vue from 'vue'
|
||||
import _ from 'lodash'
|
||||
|
||||
const rootUrl = '/'
|
||||
|
||||
module.exports = (alerts, socket) => {
|
||||
if ($('#page-type-all').length) {
|
||||
let vueAllPages = new Vue({ // eslint-disable-line no-unused-vars
|
||||
@@ -29,6 +31,9 @@ module.exports = (alerts, socket) => {
|
||||
$('#notifload').removeClass('active')
|
||||
})
|
||||
})
|
||||
},
|
||||
goto: function (entryPath) {
|
||||
window.location.assign(rootUrl + entryPath)
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
|
||||
Reference in new issue
Block a user