Coder Social home page Coder Social logo

Comments (18)

Yannnser avatar Yannnser commented on August 21, 2024

vue3版本,输入中文后光标会跳转到行首,英文和数字没有影响。

from vue-web-terminal.

18030705033 avatar 18030705033 commented on August 21, 2024

vue3 如何禁止输入中文呢

from vue-web-terminal.

tzfun avatar tzfun commented on August 21, 2024

vue3 如何禁止输入中文呢

目前暂未支持输入过滤,不过下个版本可以加上

from vue-web-terminal.

tzfun avatar tzfun commented on August 21, 2024

vue3版本,输入中文后光标会跳转到行首,英文和数字没有影响。

我这边测试没有遇到这个问题,请告知下你的运行环境信息

from vue-web-terminal.

18030705033 avatar 18030705033 commented on August 21, 2024

请问minScreen、fullScreen要重新写样式吗?还是可以直接调用方法更改样式呢?

from vue-web-terminal.

tzfun avatar tzfun commented on August 21, 2024

请问minScreen、fullScreen要重新写样式吗?还是可以直接调用方法更改样式呢?

目前暂时不支持这个功能,需要自己修改显示样式,后续版本可以考虑加上。

from vue-web-terminal.

18030705033 avatar 18030705033 commented on August 21, 2024

要不顺便把它做成可以拖动的?

from vue-web-terminal.

tzfun avatar tzfun commented on August 21, 2024

要不顺便把它做成可以拖动的?

拖动应该属于承载Terminal的容器的功能,我觉得不应该与Terminal绑定。

from vue-web-terminal.

18030705033 avatar 18030705033 commented on August 21, 2024

如果一个页面多次进入,并不会销毁之前的引入terminal 然后报错unable to register a listener with the same name ,导入页面白屏,需要刷新页面。目前解决办法是给一个v-if

from vue-web-terminal.

tzfun avatar tzfun commented on August 21, 2024

如果一个页面多次进入,并不会销毁之前的引入terminal 然后报错unable to register a listener with the same name ,导入页面白屏,需要刷新页面。目前解决办法是给一个v-if

这是在dev调试环境下才会有的,vue代码热更新脚本之后会重新执行一次,导致terminal被挂载两次,这种情况不用处理,只会在开发环境出现打包之后不会有热更新也就不会出现。

from vue-web-terminal.

HGGshiwo avatar HGGshiwo commented on August 21, 2024

请问下怎么修改style

from vue-web-terminal.

tzfun avatar tzfun commented on August 21, 2024

请问下怎么修改style

插件内的样式暂时没有提供接口修改样式,你可以覆盖相应的css class来达到修改样式的目的

from vue-web-terminal.

18030705033 avatar 18030705033 commented on August 21, 2024

日志行数超过200就开始报错了,但有时候光一个ls就会弄好多行
他就会报满屏的错误

from vue-web-terminal.

18030705033 avatar 18030705033 commented on August 21, 2024

大佬,现在如果在终端输入内容,但是不执行,而是关闭终端,再次开启的时候我只有先execute() 然后将terminalLog清空,有没有啥方法可以直接初始化啊

from vue-web-terminal.

18030705033 avatar 18030705033 commented on August 21, 2024

不然的话,上次输入的还是会存在

from vue-web-terminal.

tzfun avatar tzfun commented on August 21, 2024

大佬,现在如果在终端输入内容,但是不执行,而是关闭终端,再次开启的时候我只有先execute() 然后将terminalLog清空,有没有啥方法可以直接初始化啊

对插件使用有什么疑问可以提交新的issue,这一个issue用于收集建议,讨论回复太多不方便查看。关于这个问题我已经给你创建了新issue,移步讨论~

from vue-web-terminal.

ZedCoding avatar ZedCoding commented on August 21, 2024

image
这是要另外依赖? 安装依赖后还是报错

from vue-web-terminal.

tzfun avatar tzfun commented on August 21, 2024

这是要另外依赖? 安装依赖后还是报错

你新创一个issue吧,描述一下你的环境和使用版本 @ZedCoding

from vue-web-terminal.

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.