Commit 3c26ef4f authored by zhengke's avatar zhengke

修改样式

parent fb5948ab
...@@ -942,7 +942,6 @@ ...@@ -942,7 +942,6 @@
}, },
data() { data() {
return { return {
dataContent:'',
ComTreeList: [], ComTreeList: [],
thisType: 0, thisType: 0,
tableData: [], tableData: [],
......
...@@ -6921,6 +6921,8 @@ var fillCharReg = new RegExp(domUtils.fillChar, 'g'); ...@@ -6921,6 +6921,8 @@ var fillCharReg = new RegExp(domUtils.fillChar, 'g');
//设置默认字体和字号 //设置默认字体和字号
//font-family不能呢随便改,在safari下fillchar会有解析问题 //font-family不能呢随便改,在safari下fillchar会有解析问题
'body{margin:8px;font-family:sans-serif;font-size:16px;}' + 'body{margin:8px;font-family:sans-serif;font-size:16px;}' +
//图片最大宽度
'img{max-width: 100%;height:auto;}' +
//设置段落间距 //设置段落间距
'p{margin:5px 0;}</style>' + 'p{margin:5px 0;}</style>' +
( options.iframeCssUrl ? '<link rel=\'stylesheet\' type=\'text/css\' href=\'' + utils.unhtml(options.iframeCssUrl) + '\'/>' : '' ) + ( options.iframeCssUrl ? '<link rel=\'stylesheet\' type=\'text/css\' href=\'' + utils.unhtml(options.iframeCssUrl) + '\'/>' : '' ) +
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment