我正在我的应用程序上使用vue.js,当显示一些内容时,当单词之间有多个空格时,vue会删除空格.不幸的是,我无法在小提琴上重现这一点(不知道为什么).我不熟悉vue(我更像是一个后端),所以我很抱歉缺乏细节.要显示的HTML代码如下:<div slot="body" v-html="viewingEmail.message"></div>.示例内容可以是具有两个空格的任何短语,例如:Hello, how are you?.在这种情况下,应用程序将显示Hello,how are you?
我们的vue依赖项是:
"vue": "^2.4.2",
"vue-cookie": "^1.1.4",
"vue-flatpickr": "^2.3.0",
"vue-js-toggle-button": "^1.1.2",
"vue-loader": "^11.3.4",
"vue-resource": "^1.0.3",
"vue-select": "^2.2.0",
"vue-slider-component": "^2.3.6",
"vue-star-rating": "^1.4.0",
"vue-template-compiler": "^2.4.2",
"vue2-dropzone": "^2.2.7",
"vuedraggable": "^2.15.0",
"vuejs-paginate": "^1.1.0",
"vuex": "^2.2.1",
Run Code Online (Sandbox Code Playgroud) 问题
我正在尝试在Jenkins中构建我的应用程序,它在Github上的私有仓库中,也有一个私有子模块.
我可以通过设置它的凭据克隆Jenkins中的私有存储库,但是Jenkins无法克隆子模块,这是失败构建的输出:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/Project/workspace
Fetching changes from the remote Git repository
Fetching upstream changes from git@github.com:user/repogit
using GIT_SSH to set credentials
Checking out Revision 9cc99b67cc676d0ea8ccd489a8327f5c6dbb8d7f (origin/branch)
[workspace] $ /bin/sh -xe /tmp/hudson2710403018107019432.sh
+ git submodule update --init --recursive
Initialized empty Git repository in /var/lib/jenkins/jobs/repository/submodule/.git/
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
Clone of 'git@github.com:user/submodule.git' into submodule path 'repository/submodule/' failed
Build step 'Execute shell' marked build as failure
Discard old …Run Code Online (Sandbox Code Playgroud) 我们只有一台托管在亚马逊的服务器(开发服务器)出现问题。通过运行以下命令向特定域发出curl 请求时会出现问题:
> curl https://api.plivo.com
Run Code Online (Sandbox Code Playgroud)
结果是:
curl:(51)SSL:没有替代证书主题名称与目标主机名“api.plivo.com”匹配
我做了一些研究,发现这可能是服务器证书的问题,但是如果我从任何其他服务器尝试此操作,它工作正常,在我的本地计算机上也是如此。所以我想这可能是curl 的缓存问题?我尝试重新安装它,更新它,但没有骰子。因此,我几乎要创建一台新的开发机器,因为它阻止我们使用这项服务。