Compare commits
2 Commits
a438469c6b
...
db5e8db835
Author | SHA1 | Date | |
---|---|---|---|
db5e8db835 | |||
0d9b39d920 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "code-brick-zj",
|
"name": "code-brick-zj",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "组件封装",
|
"description": "组件封装",
|
||||||
"main": "index.js"
|
"main": "index.js"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
prop="_pageIndex"
|
prop="_pageIndex"
|
||||||
:width="pageWidth"
|
:width="pageWidth"
|
||||||
align="center"
|
align="center"
|
||||||
fixed
|
:fixed="cancelPageFixed ? false : true"
|
||||||
>
|
>
|
||||||
<template slot="header">
|
<template slot="header">
|
||||||
<el-popover placement="bottom-start" width="300" trigger="click">
|
<el-popover placement="bottom-start" width="300" trigger="click">
|
||||||
@ -121,6 +121,10 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
cancelPageFixed: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
tableData: {
|
tableData: {
|
||||||
type: Array,
|
type: Array,
|
||||||
required: true,
|
required: true,
|
||||||
@ -205,6 +209,9 @@ export default {
|
|||||||
let _this = this
|
let _this = this
|
||||||
let obj = _this.$refs[name].data[index]
|
let obj = _this.$refs[name].data[index]
|
||||||
_this.$refs[name].setCurrentRow(obj)
|
_this.$refs[name].setCurrentRow(obj)
|
||||||
|
},
|
||||||
|
doLayout(name) {
|
||||||
|
this.$refs[name].doLayout()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user