Giter VIP home page Giter VIP logo

Comments (3)

zhangyd-c avatar zhangyd-c commented on September 27, 2024

第二个问题已经修复,请更新代码。
第一个问题,md编辑器默认是有缓存的, 当你发布成功后缓存中的内容会自动清理掉,反之,如果你在新增文章的时候,编辑器里写入了内容,但是并没有点击发布,那么当你刷新的时候,会自动从缓存中获取未发布的内容。

from oneblog.

wly1435076663 avatar wly1435076663 commented on September 27, 2024

第二个问题我本地调试了一下发现是延时太短造成的,第一个问题我这边缓存有点奇怪,直接进页面点新增文章,有时候会把已发布的信息带出来,不是编辑之后没发布带出来。就是刚启动项目,然后进入页面,增加文章就带出缓存了

from oneblog.

zhangyd-c avatar zhangyd-c commented on September 27, 2024

嗯, 延迟低那个我调了, 缓存这个,我本地没测出来这个问题, 文章发布完成后会自动清除缓存。 缓存只在你修改了编辑器内容,但是没点保存(或者没手动清除缓存)时,再次打开就会显示。

from oneblog.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.