优化提示信息

This commit is contained in:
RuoYi
2021-12-02 10:44:15 +08:00
parent b1bc3ceb27
commit 82779f3c70
12 changed files with 17 additions and 39 deletions

View File

@@ -1,15 +0,0 @@
import hasRole from './hasRole'
import hasPermi from './hasPermi'
const install = function(Vue) {
Vue.directive('hasRole', hasRole)
Vue.directive('hasPermi', hasPermi)
}
if (window.Vue) {
window['hasRole'] = hasRole
window['hasPermi'] = hasPermi
Vue.use(install); // eslint-disable-line
}
export default install