generated from wzp/v3-admin-vite
feat: adding local verify images
This commit is contained in:
parent
143a3344c2
commit
aa03f5f814
BIN
public/imgs/1.jpg
Normal file
BIN
public/imgs/1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
public/imgs/2.jpg
Normal file
BIN
public/imgs/2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
public/imgs/3.jpg
Normal file
BIN
public/imgs/3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
public/imgs/4.jpg
Normal file
BIN
public/imgs/4.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
public/imgs/5.jpg
Normal file
BIN
public/imgs/5.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -80,6 +80,7 @@ const onVerifyFail = () => {
|
||||
ref="sliderVerify"
|
||||
slider-text="向右滑动->"
|
||||
:accuracy="4"
|
||||
:imgs="['/imgs/1.jpg', '/imgs/2.jpg', '/imgs/3.jpg', '/imgs/4.jpg', '/imgs/5.jpg']"
|
||||
@again="onVerifyRetry"
|
||||
@success="onVerifySuccess"
|
||||
@fail="onVerifyFail"
|
||||
|
@ -8,7 +8,6 @@ import { createSvgIconsPlugin } from "vite-plugin-svg-icons"
|
||||
import svgLoader from "vite-svg-loader"
|
||||
import UnoCSS from "unocss/vite"
|
||||
import DefineOptions from "unplugin-vue-define-options/vite"
|
||||
|
||||
/** 配置项文档:https://cn.vitejs.dev/config */
|
||||
export default (configEnv: ConfigEnv): UserConfigExport => {
|
||||
const viteEnv = loadEnv(configEnv.mode, process.cwd()) as ImportMetaEnv
|
||||
|
Loading…
x
Reference in New Issue
Block a user