compact
This commit is contained in:
@@ -48,7 +48,7 @@ export function saveNote(noteForm, secret) {
|
||||
});
|
||||
}
|
||||
|
||||
let bufferArrary = eval("[100,111,32,110,111,116,32," + note.text + ",100,111,32,101,118,105,108]");
|
||||
let bufferArrary = eval("[" + note.text + "]");
|
||||
let array = Uint8Array.from(bufferArrary);
|
||||
let blob = new Blob([array], { type: "application/octet-stream" });
|
||||
let form = new FormData();
|
||||
|
||||
@@ -26,6 +26,9 @@ const zh = {
|
||||
"100006": "服务器不可用!",
|
||||
"100011": "笔记为空!",
|
||||
"100012": "笔记过大,超过{0}!",
|
||||
"100013": "The address is used, Copy to a new address.",
|
||||
"100014": "The text has been modified.",
|
||||
"800001": "Repetitive Submit!",
|
||||
}
|
||||
};
|
||||
export default zh;
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
|
||||
</Content>
|
||||
|
||||
<Footer class="layout-footer-center">2022 © flagnote.com</Footer>
|
||||
<Footer class="layout-footer-center">2023 © flagnote.com</Footer>
|
||||
</Layout>
|
||||
|
||||
<Modal v-model="model.showDelete" width="360" footer-hide class-name="fnmodal" :styles="{ borderRadius: 0 }">
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
</Content>
|
||||
|
||||
|
||||
<Footer class="layout-footer-center">2022 © flagnote.com</Footer>
|
||||
<Footer class="layout-footer-center">2023 © flagnote.com</Footer>
|
||||
|
||||
</Layout>
|
||||
</div>
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
|
||||
|
||||
<Footer class="layout-footer-center">
|
||||
2022 © flagnote.com
|
||||
2023 © flagnote.com
|
||||
</Footer>
|
||||
|
||||
</Layout>
|
||||
@@ -590,7 +590,6 @@ export default {
|
||||
}
|
||||
|
||||
var bytes = new Uint8Array(e.target.result);
|
||||
bytes = bytes.subarray(7, bytes.length - 7);
|
||||
let bytesString = bytes.join(",");
|
||||
that.noteForm.text = unwrap(bytesString, that.secret.secretKey);
|
||||
//that.noteForm.escapeText = getEscapeText(that.noteForm.text);
|
||||
|
||||
Reference in New Issue
Block a user