acomplish replacing Vue-cli with Vite

This commit is contained in:
GeekMaster
2025-05-26 15:56:18 +08:00
parent b1ddcef593
commit 76a3ada85f
44 changed files with 2811 additions and 9576 deletions

View File

@@ -204,7 +204,10 @@
</el-icon>
</el-tooltip>
<div class="flex-row justify-start items-center">
<span>如需自定义比例在绘画指令最后加一个空格然后加上指令(宽高比) --ar w:h 例如: 1 cat --ar 21:9 </span>
<span
>如需自定义比例在绘画指令最后加一个空格然后加上指令(宽高比) --ar w:h
例如: 1 cat --ar 21:9
</span>
</div>
</div>
</div>
@@ -330,8 +333,11 @@
</el-tooltip>
</div>
<div class="flex-row justify-start items-center">
<span>如需自定义比例在绘画指令最后加一个空格然后加上指令(宽高比) --ar w:h 例如: 1 cat --ar 21:9 </span>
</div>
<span
>如需自定义比例在绘画指令最后加一个空格然后加上指令(宽高比) --ar w:h
例如: 1 cat --ar 21:9
</span>
</div>
</div>
</div>
@@ -545,7 +551,10 @@
</el-icon>
</el-tooltip>
<div class="flex-row justify-start items-center">
<span>如需自定义比例在绘画指令最后加一个空格然后加上指令(宽高比) --ar w:h 例如: 1 cat --ar 21:9 </span>
<span
>如需自定义比例在绘画指令最后加一个空格然后加上指令(宽高比) --ar w:h
例如: 1 cat --ar 21:9
</span>
</div>
</div>
</div>
@@ -1213,8 +1222,8 @@ const generate = () => {
return ElMessage.error('换脸操作需要上传两张图片')
}
const regex = /(^|\s)--ar\s+(\d+:\d+)/;
const match = regex.exec(params.value.prompt);
const regex = /(^|\s)--ar\s+(\d+:\d+)/
const match = regex.exec(params.value.prompt)
if (match) {
params.value.rate = match[2]
}
@@ -1349,6 +1358,6 @@ const generatePrompt = () => {
</script>
<style lang="stylus">
@import '@/assets/css/image-mj.styl';
@import '@/assets/css/custom-scroll.styl';
@import '../assets/css/image-mj.styl';
@import '../assets/css/custom-scroll.styl';
</style>