feat: 使首页的教程placehold支持中文,同时使markdown编辑器同app主题变化

This commit is contained in:
2025-08-14 11:37:30 +08:00
parent c4b3a09198
commit 24622d30cf
3 changed files with 404 additions and 367 deletions

View File

@@ -129,7 +129,7 @@ export const useEquipments = defineStore("equipments", () => {
async function jtagUploadBitstream(
bitstream: File,
examId?: string,
): Promise<number | null> {
): Promise<string | null> {
try {
// 自动开启电源
await powerSetOnOff(true);
@@ -155,7 +155,7 @@ export const useEquipments = defineStore("equipments", () => {
}
}
async function jtagDownloadBitstream(bitstreamId?: number): Promise<string> {
async function jtagDownloadBitstream(bitstreamId?: string): Promise<string> {
if (bitstreamId === null || bitstreamId === undefined) {
dialog.error("请先选择要下载的比特流");
return "";