Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
chore: graph lazy-load
Browse files Browse the repository at this point in the history
  • Loading branch information
hibig committed Aug 19, 2023
1 parent bc2f09b commit eb047d6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<a-tabs
v-model:active-key="activeKey"
:default-active-key="activeKey"
lazy-load
class="tab-resource"
>
<a-tab-pane key="list">
Expand Down
2 changes: 0 additions & 2 deletions src/views/login/components/login-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,13 @@

<script lang="ts" setup>
import _ from 'lodash';
import { InputWidth } from '@/views/config';
import { ref, reactive, onMounted } from 'vue';
import { LOCALE_OPTIONS } from '@/locale';
import useLocale from '@/hooks/locale';
import { useUserStore } from '@/store';
import useLoading from '@/hooks/loading';
import useEnterPage from '@/hooks/use-enter-page';
import { queryUserPartialSetting } from '@/views/system/api/setting';
import { RoleType } from '@/views/system/config/users';
import CryptoJS from 'crypto-js';
import {
rememberPasswordFn,
Expand Down
4 changes: 1 addition & 3 deletions src/views/login/components/modify-password.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,14 @@
import { get } from 'lodash';
import { reactive, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
import { modifyPassword } from '@/api/user';
import { useUserStore } from '@/store';
import { updateUserSettingBatch } from '@/views/system/api/setting';
import { urlReg } from '@/utils/validate';
const cllectionLink = 'https://seal-io.github.io/docs/telemetry';
const cllectionLink = 'https://seal-io.github.io/docs/improvement-plan';
const { t } = useI18n();
const userStore = useUserStore();
const router = useRouter();
const emits = defineEmits(['updatePassword']);
const props = defineProps({
oldPassword: {
Expand Down
2 changes: 2 additions & 0 deletions src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@
padding-bottom: 40px;
.content-inner {
position: absolute;
top: 20%;
padding: 20px;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 8px;
Expand Down
4 changes: 2 additions & 2 deletions src/views/login/locale/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ export default {
'login.config.pswd.log':
'search "Bootstrap Admin Password" from the logs of walrus process',
'login.config.user.action':
'Allows collection of <a href={link} target="_blank" class="a-link">anonymous statistics</a>, to help us improve walrus',
'login.config.join.improvement': 'Participate in improvement plan'
'Allows collection of <a href={link} target="_blank" class="a-link">anonymous statistics</a>, to help us improve Walrus',
'login.config.join.improvement': 'Participate in Improvement Plan'
};
2 changes: 1 addition & 1 deletion src/views/login/locale/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ export default {
'login.config.pswd.specified': '启动时已设置初始密码',
'login.config.pswd.log': '从seal进程日志中搜索"Bootstrap Admin Password"',
'login.config.user.action':
'允许收集<a href={link} target="_blank" class="a-link">匿名统计数据</a>,以帮助我们改进walrus',
'允许收集<a href={link} target="_blank" class="a-link">匿名统计数据</a>,以帮助我们改进 Walrus',
'login.config.join.improvement': '参与改进计划'
};

0 comments on commit eb047d6

Please sign in to comment.