1
0
forked from Leaf/amber-ui

修复 图片无法显示

This commit is contained in:
kingc2022 2024-09-21 23:42:21 +08:00
parent 449c76eb22
commit b6fdad0d0a
2 changed files with 10 additions and 3 deletions

View File

@ -64,6 +64,10 @@
"watch": true,
"watchEffect": true,
"watchPostEffect": true,
"watchSyncEffect": true
"watchSyncEffect": true,
"onWatcherCleanup": true,
"useId": true,
"useModel": true,
"useTemplateRef": true
}
}

View File

@ -2,7 +2,7 @@
<div class="flex items-center align-center justify-center h-screen">
<div class="text-center">
<div class="mt-5 !ml-2">
<n-image src="/src/assets/images/leaflow.png" width="200" />
<n-image :src="leaflowpng" width="200" />
<n-h1> 满身星光不负众望 </n-h1>
</div>
<br />
@ -20,7 +20,7 @@
<br />
不代表最终品质
</n-h6>
<n-image src="/src/assets/images/group.png" width="300" />
<n-image :src="grouppng" width="300" />
</div>
<template #action>
<n-button type="primary" @click="showModal = false">确定</n-button>
@ -33,6 +33,9 @@
<script setup lang="ts">
import router from "../../router";
import { useUserStore } from "../../stores/user";
import leaflowpng from "@/assets/images/leaflow.png"
import grouppng from "@/assets/images/group.png"
const userStore = useUserStore();
const login = () => {