mirror of
https://github.com/yangzongzhuan/RuoYi-App.git
synced 2025-09-27 22:52:40 +00:00
update register
This commit is contained in:
@@ -38,9 +38,10 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { getCodeImg, register } from '@/api/login'
|
import { getCodeImg, register } from '@/api/login'
|
||||||
import { ref, getCurrentInstance } from "vue"
|
import { ref, getCurrentInstance } from "vue"
|
||||||
|
import { useConfigStore } from '@/store'
|
||||||
|
|
||||||
const { proxy } = getCurrentInstance()
|
const { proxy } = getCurrentInstance()
|
||||||
const globalConfig = getApp().globalData.config
|
const globalConfig = useConfigStore().config
|
||||||
const codeUrl = ref("")
|
const codeUrl = ref("")
|
||||||
// 验证码开关
|
// 验证码开关
|
||||||
const captchaEnabled = ref(true)
|
const captchaEnabled = ref(true)
|
||||||
|
Reference in New Issue
Block a user