提交 8688166e 编写于 作者: 郭维嘉

fix:修复上传图片限制默认尺寸问题

上级 1302ee2c
流水线 #3176 已失败 ,包含阶段
此差异已折叠。
......@@ -6,7 +6,7 @@
"scripts": {
"start": "webpack serve --mode=development",
"build": "webpack --mode=production",
"p": "rm -rf dist/*.js && npm run build && ssh -t root@45.76.193.214 rm -rf /test/* exit && scp -r dist/* root@45.76.193.214:/test/"
"p": "rm -rf dist/*.js && npm run build && ssh -t lish@192.168.72.126 rm -rf /md-editor/* exit && scp -r dist/* lish@192.168.72.126:/md-editor"
},
"devDependencies": {
"chalk": "^4.1.1",
......
......@@ -234,7 +234,7 @@ export default {
originalText,
selectionInfo,
"\n![img](",
`${url} "=600 #left")\n`
`${url} "#left")\n`
);
_this.text = newText;
_this.$refs.mdUploadFile.value = "";
......
......@@ -198,7 +198,7 @@ export default {
setTimeout(() => {
this.showSelectUser = false;
this.showSelectLinkType = false;
}, 200);
}, 100);
}
}
},
......
......@@ -428,7 +428,7 @@ export default {
if (startStr === "@") {
setTimeout(() => {
this.$parent.$refs["md_" + this.id].createSelectUserDialog("android");
}, 200);
}, 100);
}
},
updateText(val, len = 0) {
......
......@@ -9,6 +9,7 @@ module.exports = {
devServer: {
contentBase: path.resolve(__dirname, "dist"),
host: "0.0.0.0",
// port: 443,
https: true,
open: true
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册