1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 00:09:16 +08:00

feat: Remove Unused Components (#7311)

This commit is contained in:
zhengkunwang 2024-12-10 16:21:38 +08:00 committed by GitHub
parent 88b70eba53
commit 4635047004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,15 +20,6 @@
</div> </div>
<div v-else> <div v-else>
<div v-if="errStatus === 'err-unsafe'">
<UnSafe />
</div>
<div v-if="errStatus === 'err-ip'">
<ErrIP />
</div>
<div v-if="errStatus === 'err-domain'">
<ErrDomain />
</div>
<div v-if="errStatus.indexOf('code-') !== -1"> <div v-if="errStatus.indexOf('code-') !== -1">
<ErrCode :code="errStatus.replaceAll('code-', '')" /> <ErrCode :code="errStatus.replaceAll('code-', '')" />
</div> </div>
@ -42,10 +33,7 @@
<script setup lang="ts" name="login"> <script setup lang="ts" name="login">
import LoginForm from '../components/login-form.vue'; import LoginForm from '../components/login-form.vue';
import UnSafe from '@/components/error-message/unsafe.vue';
import ErrIP from '@/components/error-message/err_ip.vue';
import ErrCode from '@/components/error-message/error_code.vue'; import ErrCode from '@/components/error-message/error_code.vue';
import ErrDomain from '@/components/error-message/err_domain.vue';
import ErrFound from '@/components/error-message/404.vue'; import ErrFound from '@/components/error-message/404.vue';
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { GlobalStore } from '@/store'; import { GlobalStore } from '@/store';