Explorar o código

Update Index.vue

star7th %!s(int64=6) %!d(string=hai) anos
pai
achega
282fc85486
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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