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