Skip to content

Commit

Permalink
TWJ 界面优化
Browse files Browse the repository at this point in the history
  • Loading branch information
yhy0 committed May 29, 2023
1 parent 5973492 commit b401d15
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frontend/src/components/Twj.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ function brute() {
message.success("Signature Verified")
twj.signature = JSON.stringify(JSON.parse(result.msg),null, 2);
})
} else {
message.warning("没爆出来,换个字典吧(⊙o⊙)…")
}
})
}
Expand All @@ -64,7 +66,6 @@ function stopBrute() {
})
}
EventsOn("Percentage", Percentage => {
twj.percentage = Percentage
});
Expand Down Expand Up @@ -93,15 +94,15 @@ EventsOn("Percentage", Percentage => {
</n-space>
</n-gi>
<n-gi>
<n-card title="Header" size="small" style="margin-bottom: 16px; margin-top: 10px">
<n-card title="Header" size="small" style="margin-bottom: 16px; margin-top: 10px; height: 150px;overflow: auto;">
<n-code id="header" language="json" :code="twj.header" word-wrap style="white-space: pre-wrap; text-align: left;"/>
</n-card>

<n-card title="Payload" size="small" style="margin-bottom: 16px; margin-top: 10px">
<n-card title="Payload" size="small" style="margin-bottom: 16px; margin-top: 10px; height: 260px;overflow: auto;">
<n-code id="payload" language="json" :code="twj.payload" word-wrap style="white-space: pre-wrap; text-align: left;"/>
</n-card>

<n-card title="Verify" size="small" style="margin-bottom: 16px; margin-top: 10px">
<n-card title="Verify" size="small" style="margin-bottom: 16px; margin-top: 10px; height: 130px;overflow: auto;">
<n-code id="signature" language="json" :code="twj.signature" word-wrap style="white-space: pre-wrap; text-align: left;"/>
</n-card>

Expand Down

0 comments on commit b401d15

Please sign in to comment.