mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
5.0
This commit is contained in:
@@ -20,7 +20,7 @@ export const showKeysFormColumns: PlusFormGroupRow[] = [
|
|||||||
title: "基本信息",
|
title: "基本信息",
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
label: "AppId",
|
label: "☆AppId",
|
||||||
prop: "appId",
|
prop: "appId",
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
valueType: "text",
|
valueType: "text",
|
||||||
@@ -131,10 +131,11 @@ const downloadTemplate = `AppID:
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const downloadIsvKey = () => {
|
export const downloadIsvKey = () => {
|
||||||
|
const appId = showKeysFormData.value.appId;
|
||||||
let text = downloadTemplate
|
let text = downloadTemplate
|
||||||
.replace("{appId}", showKeysFormData.value.appId)
|
.replace("{appId}", appId)
|
||||||
.replace("{privateKeyIsv}", showKeysFormData.value.privateKeyIsv)
|
.replace("{privateKeyIsv}", showKeysFormData.value.privateKeyIsv)
|
||||||
.replace("{publicKeyPlatform}", showKeysFormData.value.publicKeyPlatform);
|
.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