fixing
This commit is contained in:
parent
22ebbc6366
commit
7de97277f5
1 changed files with 0 additions and 37 deletions
|
|
@ -35,17 +35,6 @@ export const useLinkageStore = defineStore("linkageData", () => {
|
|||
})
|
||||
.catch(async (error) => {
|
||||
messageError(q, error);
|
||||
|
||||
// remove when api ready
|
||||
devicesOp.value = await [
|
||||
"Generic Smart Card Reader Interface 0",
|
||||
"Windows Hello for Business 1",
|
||||
];
|
||||
devicesData.value = await [
|
||||
"Generic Smart Card Reader Interface 0",
|
||||
"Windows Hello for Business 1",
|
||||
];
|
||||
step.value = 2;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -226,8 +215,6 @@ export const useLinkageStore = defineStore("linkageData", () => {
|
|||
})
|
||||
.catch((error) => {
|
||||
messageError(q, error);
|
||||
// remove when api ready
|
||||
amiRequest(q, 9081);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -288,20 +275,6 @@ export const useLinkageStore = defineStore("linkageData", () => {
|
|||
})
|
||||
.catch(async (error) => {
|
||||
messageError(q, error);
|
||||
// remove when api ready
|
||||
if (code === 9080) {
|
||||
step.value = 3;
|
||||
} else if (code === 9081) {
|
||||
const tRes = await [
|
||||
57, 48, 56, 49, 48, 48, 48, 48, 48, 53, 57, 56, 57, 51, 51, 52, 49,
|
||||
55, 51, 100, 49, 52, 51, 50, 50, 51, 51, 100, 100, 54, 100, 100, 54,
|
||||
50, 51, 99, 53, 51, 56, 55, 101,
|
||||
];
|
||||
|
||||
const convertData = await bin2String(tRes);
|
||||
tKey.value = await convertData.substr(9);
|
||||
step.value = 4;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -329,16 +302,6 @@ export const useLinkageStore = defineStore("linkageData", () => {
|
|||
})
|
||||
.catch((error) => {
|
||||
messageError(q, error);
|
||||
//remove when api ready
|
||||
devices.value = "";
|
||||
devicesData.value = [];
|
||||
devicesOp.value = [];
|
||||
step.value = 1;
|
||||
PID.value = "";
|
||||
CID.value = "";
|
||||
xKey.value = "";
|
||||
envelopGMXs.value = "";
|
||||
tKey.value = "";
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue