@@ -42,6 +42,14 @@ export const widgetTable = {
placeholder: '',
value: '16'
},
+ {
+ type: 'el-input-number',
+ label: '显示行数',
+ name: 'vis',
+ required: false,
+ placeholder: '',
+ value: '5'
+ },
{
type: 'el-switch',
label: '开启滚动',
@@ -68,7 +76,7 @@ export const widgetTable = {
- label: '线条',
+ label: '边框线',
name: 'isLine',
required: false,
@@ -118,6 +118,10 @@ export default {
this.handlerRollFn();
this.handlerHead();
this.handlerData();
+ this.visConfig();
+ visConfig(){
+ this.options.vis = this.optionsSetUp.vis;
handlerRollFn() {
const options = this.options;