[fix](ui)format the text file of profile #17645

This commit is contained in:
WuWQ98
2023-03-10 19:54:28 +08:00
committed by GitHub
parent 9cfa61b402
commit 948654ad38

View File

@ -76,7 +76,7 @@ export default function QueryProfile(params: any) {
}
function download(profile) {
const blob = new Blob([JSON.stringify(profile)], {
const blob = new Blob([JSON.stringify(profile, null, 2)], {
type: "text/plain"
});
const tagA = document.createElement("a");