diff --git a/src/components/iframe/index.vue b/src/components/iframe/index.vue
deleted file mode 100644
index 9f395a3..0000000
--- a/src/components/iframe/index.vue
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
diff --git a/src/components/permission/index.js b/src/components/permission/index.js
deleted file mode 100644
index e5dadd3..0000000
--- a/src/components/permission/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import permission from './permission'
-
-const install = function(Vue) {
- Vue.directive('permission', permission)
-}
-
-if (window.Vue) {
- window['permission'] = permission
- Vue.use(install); // eslint-disable-line
-}
-
-permission.install = install
-export default permission
diff --git a/src/components/permission/permission.js b/src/components/permission/permission.js
deleted file mode 100644
index e731ebf..0000000
--- a/src/components/permission/permission.js
+++ /dev/null
@@ -1,21 +0,0 @@
-import store from '@/store'
-
-export default {
- inserted(el, binding, vnode) {
- const { value } = binding
- const roles = store.getters && store.getters.roles
- if (value && value instanceof Array && value.length > 0) {
- const permissionRoles = value
-
- const hasPermission = roles.some(role => {
- return permissionRoles.includes(role)
- })
-
- if (!hasPermission) {
- el.parentNode && el.parentNode.removeChild(el)
- }
- } else {
- throw new Error(`使用方式: v-permission="['admin','editor']"`)
- }
- }
-}