mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
5.0
This commit is contained in:
@@ -20,7 +20,7 @@ export const showKeysFormColumns: PlusFormGroupRow[] = [
|
||||
title: "基本信息",
|
||||
columns: [
|
||||
{
|
||||
label: "AppId",
|
||||
label: "☆AppId",
|
||||
prop: "appId",
|
||||
labelWidth: 100,
|
||||
valueType: "text",
|
||||
@@ -131,10 +131,11 @@ const downloadTemplate = `AppID:
|
||||
`;
|
||||
|
||||
export const downloadIsvKey = () => {
|
||||
const appId = showKeysFormData.value.appId;
|
||||
let text = downloadTemplate
|
||||
.replace("{appId}", showKeysFormData.value.appId)
|
||||
.replace("{appId}", appId)
|
||||
.replace("{privateKeyIsv}", showKeysFormData.value.privateKeyIsv)
|
||||
.replace("{publicKeyPlatform}", showKeysFormData.value.publicKeyPlatform);
|
||||
|
||||
downloadText(`key_${new Date().getTime()}.txt`, text);
|
||||
downloadText(`${appId}_${new Date().getTime()}.txt`, text);
|
||||
};
|
||||
|
Reference in New Issue
Block a user