RuoYi
3 years ago
12 changed files with 17 additions and 39 deletions
@ -1,15 +0,0 @@
@@ -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 |
@ -1,15 +0,0 @@
@@ -1,15 +0,0 @@
|
||||
<template> |
||||
<i-frame :src="url" /> |
||||
</template> |
||||
<script> |
||||
import iFrame from "@/components/iFrame/index"; |
||||
export default { |
||||
name: "Druid", |
||||
components: { iFrame }, |
||||
data() { |
||||
return { |
||||
url: process.env.VUE_APP_BASE_API + "/druid/login.html" |
||||
}; |
||||
}, |
||||
}; |
||||
</script> |
Loading…
Reference in new issue