-
- {{ $t("error." + this.errorInfo.code) }}
+
+
{{ $t("error." + this.errorInfo.code) }}
@@ -93,6 +91,12 @@ export default {
if (this.$route.params.name) {
this.noteForm.key = this.$route.params.name;
}
+
+ this.$nextTick(() => {
+ let clientHeight = document.documentElement.clientHeight;
+ let elementNoteText = document.getElementById("noteText");
+ elementNoteText.style.minHeight = (clientHeight - 100) + "px";
+ })
},
mounted() {
this.$nextTick(() => {
@@ -102,7 +106,13 @@ export default {
//this.bindCopyTextEvent();
-
+ window.onresize = () => {
+ return (() => {
+ let clientHeight = document.documentElement.clientHeight;
+ let elementNoteText = document.getElementById("noteText");
+ elementNoteText.style.minHeight = (clientHeight - 100) + "px";
+ })()
+ }
},
methods: {
refreshPage() {
diff --git a/src/views/ViewJsonNote.vue.bak b/src/views/ViewJsonNote.vue.bak
new file mode 100644
index 0000000..50f776d
--- /dev/null
+++ b/src/views/ViewJsonNote.vue.bak
@@ -0,0 +1,301 @@
+
+
+
+
+
+
+
diff --git a/src/views/ViewMdNote.vue b/src/views/ViewMdNote.vue.bak
similarity index 66%
rename from src/views/ViewMdNote.vue
rename to src/views/ViewMdNote.vue.bak
index 6fd6b37..202658d 100644
--- a/src/views/ViewMdNote.vue
+++ b/src/views/ViewMdNote.vue.bak
@@ -1,35 +1,55 @@
+