show power for chat and imaging page

This commit is contained in:
RockYang
2024-03-31 20:49:12 +08:00
parent 4596c1049c
commit 95efbd5659
5 changed files with 34 additions and 14 deletions

View File

@@ -253,9 +253,11 @@
/>
</div>
<div class="param-line" style="padding: 10px">
<div class="text-info">
<el-tag>每次绘图消耗{{ sdPower }}算力</el-tag>
<el-tag type="success">当前可用算力{{ power }}</el-tag>
</div>
</el-form>
</div>
<div class="submit-btn">
@@ -479,7 +481,7 @@
<script setup>
import {onMounted, onUnmounted, ref} from "vue"
import {Delete, DocumentCopy, InfoFilled, Orange, Picture, Refresh} from "@element-plus/icons-vue";
import {Delete, DocumentCopy, InfoFilled, Orange, Picture} from "@element-plus/icons-vue";
import {httpGet, httpPost} from "@/utils/http";
import {ElMessage, ElMessageBox, ElNotification} from "element-plus";
import ItemList from "@/components/ItemList.vue";