fix
This commit is contained in:
parent
7f81268f07
commit
d7e906bcf7
1 changed files with 5 additions and 6 deletions
|
@ -3,16 +3,16 @@
|
||||||
<div
|
<div
|
||||||
:class="$style.container"
|
:class="$style.container"
|
||||||
:style="{
|
:style="{
|
||||||
backgroundImage: instance.bannerUrl
|
backgroundImage: $instance.bannerUrl
|
||||||
? `url(${instance.bannerUrl})`
|
? `url(${$instance.bannerUrl})`
|
||||||
: null,
|
: null,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div :class="$style.iconContainer">
|
<div :class="$style.iconContainer">
|
||||||
<img
|
<img
|
||||||
:src="
|
:src="
|
||||||
instance.iconUrl ??
|
$instance.iconUrl ??
|
||||||
instance.faviconUrl ??
|
$instance.faviconUrl ??
|
||||||
'/favicon.ico'
|
'/favicon.ico'
|
||||||
"
|
"
|
||||||
alt=""
|
alt=""
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<div :class="$style.bodyContainer">
|
<div :class="$style.bodyContainer">
|
||||||
<div :class="$style.body">
|
<div :class="$style.body">
|
||||||
<MkA :class="$style.name" to="/about" behavior="window">{{
|
<MkA :class="$style.name" to="/about" behavior="window">{{
|
||||||
instance.name
|
$instance.name
|
||||||
}}</MkA>
|
}}</MkA>
|
||||||
<div :class="$style.host">{{ host }}</div>
|
<div :class="$style.host">{{ host }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -41,7 +41,6 @@ import {
|
||||||
} from "./widget";
|
} from "./widget";
|
||||||
import { GetFormResultType } from "@/scripts/form";
|
import { GetFormResultType } from "@/scripts/form";
|
||||||
import { host } from "@/config";
|
import { host } from "@/config";
|
||||||
import { instance } from "@/instance";
|
|
||||||
|
|
||||||
const name = "serverInfo";
|
const name = "serverInfo";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue