star7th 6 anni fa
parent
commit
282fc85486
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      web_src/src/components/page/edit/Index.vue

+ 3 - 1
web_src/src/components/page/edit/Index.vue

@@ -575,7 +575,9 @@ export default {
       if (
         page_content &&
         page_content.length > 0 &&
-        page_content != childRef.getMarkdown()
+        page_content != childRef.getMarkdown() &&
+        childRef.getMarkdown() && 
+        childRef.getMarkdown().length > 10 
       ) {
         localStorage.removeItem(pkey)
         that