feat: 使首页的教程placehold支持中文,同时使markdown编辑器同app主题变化
This commit is contained in:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user