Commit 354b32d5 by 李宁

1

1 parent c1b80523
......@@ -88,7 +88,6 @@
alt="验证码"
class="w-full h-full object-cover"
/>
<RefreshCw class="absolute top-1 right-1 w-3 h-3 text-gray-400" />
</div>
</div>
</el-form-item>
......@@ -149,17 +148,8 @@
<script setup lang="ts">
import { ref, onMounted, onUnmounted, reactive } from 'vue'
import { ElMessage, type FormInstance, type FormRules } from 'element-plus'
import { RefreshCw } from 'lucide-vue-next'
import { getCurrentInstance } from 'vue'
// 扩展组件实例类型以包含全局属性
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$api: any
$utils: any
}
}
// 导入图片资源
import loginBackgroundImg from '@/assets/7f0599d246217c734650d105801453a4919de13c.png'
import logoIconImg from '@/assets/83c9823faecc66b9d1978deb8ed7085f80e226b3.png'
......@@ -196,7 +186,7 @@ const canSendSms = ref(true)
const loginForm = reactive<LoginForm>({
phone: '13112345678',
captchaInput: '',
smsCode: ''
smsCode: '123456'
})
// 表单验证规则
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!