You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
754 B
JavaScript
19 lines
754 B
JavaScript
/*
|
|
* @Author: qinzhenpen qzp1807@126.com
|
|
* @Date: 2024-07-15 15:44:46
|
|
* @LastEditors: qinzhenpen qzp1807@126.com
|
|
* @LastEditTime: 2024-08-20 15:53:35
|
|
* @FilePath: \vue3\src\directive\index.js
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
import hasRole from './permission/hasRole'
|
|
import hasPermi from './permission/hasPermi'
|
|
import copyText from './common/copyText'
|
|
import debounce from './common/debounce'
|
|
|
|
export default function directive(app){
|
|
app.directive('hasRole', hasRole)
|
|
app.directive('hasPermi', hasPermi)
|
|
app.directive('copyText', copyText)
|
|
app.directive('debounce', debounce)
|
|
} |