权限处理

master
xy 11 months ago
parent 44b475116b
commit db77807390

@ -105,7 +105,13 @@ Vue.prototype.$audioPlay = (type = 1) => {
} else { } else {
audio.src = noticeAudioNew; audio.src = noticeAudioNew;
} }
audio.play() if(audio.paused) {
audio.play()
} else {
setTimeout(() => {
audio.play()
},500)
}
} }
} }

@ -23,5 +23,5 @@ module.exports = {
* @type {number} * @type {number}
* @description 调令列表刷新分钟间隔 * @description 调令列表刷新分钟间隔
*/ */
refreshTransferTime: 30 * 1000, refreshTransferTime: 20 * 1000,
} }

@ -153,7 +153,7 @@ export function generaMenu(routes, data) {
title: item.name, title: item.name,
id: item.id, id: item.id,
roles: ['admin'], roles: ['admin'],
auths:item.has_auth_node_tags, auths:item.auth_node_tags_array,
params, params,
icon: item.icon icon: item.icon
} }

Loading…
Cancel
Save