feat: adding local verify images

This commit is contained in:
Wzp-2008 2023-04-26 21:18:15 +08:00
parent 143a3344c2
commit aa03f5f814
7 changed files with 1 additions and 1 deletions

BIN
public/imgs/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
public/imgs/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
public/imgs/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
public/imgs/4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
public/imgs/5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -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"

View File

@ -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