Git Product home page Git Product logo

Comments (16)

haochuan9421 avatar haochuan9421 commented on May 24, 2024

如果你的路由使用了mode:'history',使用绝对路径,不要使用相对路径

from vue-ueditor-wrap.

microyulive avatar microyulive commented on May 24, 2024

大佬,history模式中配置这个绝对路径应该怎么配啊?我把UEditor放在项目根目录的public下了。然后无论设置/public/UEditor/还是/UEditor/ 都不对。。。求指导!
@JayLee265 同时也问问你是咋配置的呀?

from vue-ueditor-wrap.

microyulive avatar microyulive commented on May 24, 2024

按照百度文档的那种安装配置方法,设置为/UEditor/是可以的。我用的也是cli 3

from vue-ueditor-wrap.

haochuan9421 avatar haochuan9421 commented on May 24, 2024

如果你用history模式,路径又是绝对路径,你就要根据你UEditor所在页面的路径来决定怎么填了,比如你的页面地址是/myapp/todo/detail,那么你此时的路径就是/myapp/UEditor了,这个你要具体分析自己的项目

from vue-ueditor-wrap.

microyulive avatar microyulive commented on May 24, 2024

谢谢大佬回复,我目前UEditor文件夹是放在 myapp/public/UEditor,配置的路径要变成 /myapp/UEditor/ 这样吗?

from vue-ueditor-wrap.

haochuan9421 avatar haochuan9421 commented on May 24, 2024

我说的页面地址,你把你UEditor所在的页面的地址栏截个图吧

from vue-ueditor-wrap.

microyulive avatar microyulive commented on May 24, 2024

oh... 我错了 页面地址是 http://localhost/editor

from vue-ueditor-wrap.

haochuan9421 avatar haochuan9421 commented on May 24, 2024

那你填/UEditor/试一试

from vue-ueditor-wrap.

microyulive avatar microyulive commented on May 24, 2024

image
目前是这样的。但是不行。。。
image

from vue-ueditor-wrap.

haochuan9421 avatar haochuan9421 commented on May 24, 2024

稍等一下,我试一试

from vue-ueditor-wrap.

microyulive avatar microyulive commented on May 24, 2024

好的 谢谢!

from vue-ueditor-wrap.

haochuan9421 avatar haochuan9421 commented on May 24, 2024

没毛病呀?
image
image
image

from vue-ueditor-wrap.

microyulive avatar microyulive commented on May 24, 2024

明白了!在页面文件里传config进去没问题,不能直接在原先的config.js文件里直接操作。谢谢大佬!

from vue-ueditor-wrap.

haochuan9421 avatar haochuan9421 commented on May 24, 2024

OK

from vue-ueditor-wrap.

microyulive avatar microyulive commented on May 24, 2024

issue可以关闭啦 谢谢!

from vue-ueditor-wrap.

 avatar commented on May 24, 2024

为什么居中的图片点击空白处,图片超出了编辑器?而且不管点击哪里都没法获得焦点?这是啥bug?
image

from vue-ueditor-wrap.

Related Issues (20)

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.