新增按钮权限,增加redis可独立配置 (#923)

* fix jwt to golang-jwt, gin to 1.7.0

* 增加按钮权限功能

* 增加redis可独立配置

Co-authored-by: helight <helight@helight.info>
This commit is contained in:
奇淼(piexlmax
2022-02-22 00:26:21 +08:00
committed by GitHub
co-authored by helight
parent f389ff701a
commit 6a97f39f66
33 changed files with 5024 additions and 542 deletions
+2 -4
View File
@@ -23,9 +23,7 @@ export default {
break
}
if (type === '') {
/* eslint-disable */
console.error("v-auth必须是Array,Number,String属性,暂不支持其他属性")
/* eslint-enable */
el.parentNode.removeChild(el)
return
}
const waitUse = binding.value.toString().split(',')
@@ -34,7 +32,7 @@ export default {
flag = !flag
}
if (!flag) {
el.style.display = 'none'
el.parentNode.removeChild(el)
}
}
})