lmt commited on
Commit ·
da09181
1
Parent(s): 6aefa37
修改默认信息
Browse files
src/components/common/Setting/About.vue
CHANGED
|
@@ -68,8 +68,6 @@ onMounted(() => {
|
|
| 68 |
{{ $t("setting.reverseProxy") }}:{{ config?.reverseProxy ?? '-' }}
|
| 69 |
</p>
|
| 70 |
<p>{{ $t("setting.timeout") }}:{{ config?.timeoutMs ?? '-' }}</p>
|
| 71 |
-
<p>{{ $t("setting.socks") }}:{{ config?.socksProxy ?? '-' }}</p>
|
| 72 |
-
<p>{{ $t("setting.httpsProxy") }}:{{ config?.httpsProxy ?? '-' }}</p>
|
| 73 |
</div>
|
| 74 |
</NSpin>
|
| 75 |
</template>
|
|
|
|
| 68 |
{{ $t("setting.reverseProxy") }}:{{ config?.reverseProxy ?? '-' }}
|
| 69 |
</p>
|
| 70 |
<p>{{ $t("setting.timeout") }}:{{ config?.timeoutMs ?? '-' }}</p>
|
|
|
|
|
|
|
| 71 |
</div>
|
| 72 |
</NSpin>
|
| 73 |
</template>
|
src/store/modules/user/helper.ts
CHANGED
|
@@ -15,9 +15,9 @@ export interface UserState {
|
|
| 15 |
export function defaultSetting(): UserState {
|
| 16 |
return {
|
| 17 |
userInfo: {
|
| 18 |
-
avatar: 'https://
|
| 19 |
-
name: '
|
| 20 |
-
description: '
|
| 21 |
},
|
| 22 |
}
|
| 23 |
}
|
|
|
|
| 15 |
export function defaultSetting(): UserState {
|
| 16 |
return {
|
| 17 |
userInfo: {
|
| 18 |
+
avatar: ' https://bpic.51yuansu.com/pic3/cover/01/69/80/595f67bf2026f_610.jpg',
|
| 19 |
+
name: 'Tester',
|
| 20 |
+
description: '测试用户',
|
| 21 |
},
|
| 22 |
}
|
| 23 |
}
|