表格调整

qianming 3 years ago
parent 92b9e1eabb
commit 9e2ee3aaaa

@ -42,6 +42,14 @@ export const widgetTable = {
placeholder: '', placeholder: '',
value: '16' value: '16'
}, },
{
type: 'el-input-number',
label: '显示行数',
name: 'vis',
required: false,
placeholder: '',
value: '5'
},
{ {
type: 'el-switch', type: 'el-switch',
label: '开启滚动', label: '开启滚动',
@ -68,7 +76,7 @@ export const widgetTable = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '线', label: '边框线',
name: 'isLine', name: 'isLine',
required: false, required: false,
placeholder: '', placeholder: '',

@ -118,6 +118,10 @@ export default {
this.handlerRollFn(); this.handlerRollFn();
this.handlerHead(); this.handlerHead();
this.handlerData(); this.handlerData();
this.visConfig();
},
visConfig(){
this.options.vis = this.optionsSetUp.vis;
}, },
handlerRollFn() { handlerRollFn() {
const options = this.options; const options = this.options;

Loading…
Cancel
Save