mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(components): 添加图片验证码
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import setupWindicssDarkMode from './dark-mode';
|
||||
import setupMakeitCaptcha from './makeit-captcha';
|
||||
|
||||
export { setupWindicssDarkMode };
|
||||
export { setupWindicssDarkMode, setupMakeitCaptcha };
|
||||
|
7
src/plugins/makeit-captcha.ts
Normal file
7
src/plugins/makeit-captcha.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import type { App } from 'vue';
|
||||
import MakeitCaptcha from 'makeit-captcha';
|
||||
import 'makeit-captcha/dist/captcha.min.css';
|
||||
|
||||
export default function setupMakeitCaptcha(app: App) {
|
||||
app.use(MakeitCaptcha);
|
||||
}
|
Reference in New Issue
Block a user