bugfix: sketch图片比例

This commit is contained in:
2026-04-23 09:50:41 +08:00
parent 794b7c5fc1
commit a8050f8065
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
>
<template v-if="type === 'sketch'">
<div
class="sketch-item"
class="sketch-item flex flex-center"
v-for="(item, index) in combineSketchList"
:key="'sketch-item-' + index"
>
@@ -334,7 +334,7 @@
background-color: #fff;
img {
width: 100%;
height: 100%;
// height: 100%;
border-radius: 1.6rem;
}
.loading-wrapper {

View File

@@ -62,7 +62,7 @@ export default defineConfig(({ mode }) => {
host: '0.0.0.0', // 允许局域网内的IP访问
port: 8060, // 根据环境设置端口
open: false, // 自动打开浏览器
strictPort: true, // 如果端口已被占用,则尝试下一个可用端口
strictPort: false, // 如果端口已被占用,则尝试下一个可用端口
hmr: {
overlay: true
},