- Gallery: added deleting images.
This commit is contained in:
@@ -828,17 +828,19 @@ namespace Actions {
|
||||
|
||||
const arrpagesroute: IListRoutes[] = []
|
||||
for (const page of state.mypage) {
|
||||
arrpagesroute.push({
|
||||
path: '/' + page.path,
|
||||
name: undefined,
|
||||
text: page.title,
|
||||
materialIcon: page.icon,
|
||||
component: () => import('@/root/mypage/mypage.vue'),
|
||||
inmenu: page.inmenu,
|
||||
infooter: page.infooter,
|
||||
level_child: page.l_child,
|
||||
level_parent: page.l_par,
|
||||
})
|
||||
if (page.active) {
|
||||
arrpagesroute.push({
|
||||
path: '/' + page.path,
|
||||
name: undefined,
|
||||
text: page.title,
|
||||
materialIcon: page.icon,
|
||||
component: () => import('@/root/mypage/mypage.vue'),
|
||||
inmenu: page.inmenu,
|
||||
infooter: page.infooter,
|
||||
level_child: page.l_child,
|
||||
level_parent: page.l_par,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
const last = {
|
||||
|
||||
@@ -2843,6 +2843,10 @@ export const tools = {
|
||||
return [{ name: 'x-auth', value: UserStore.state.x_auth_token }]
|
||||
},
|
||||
|
||||
getextfile(filename) {
|
||||
return filename.split('.').pop().toLowerCase()
|
||||
},
|
||||
|
||||
getelembylang(arr) {
|
||||
const mylang = toolsext.getLocale()
|
||||
for (const elem in arr) {
|
||||
|
||||
Reference in New Issue
Block a user