Compare commits

...

2 Commits

Author SHA1 Message Date
zhenghuang 0ad4adf1a7 1 5 years ago
zhenghuang 7e2d085286 1 5 years ago

@ -43,8 +43,7 @@
:columns="columns1"
:data="data1"
class="table-store"
size="small"
@on-row-dblclick="onDblClickRowLister">
size="small">
<template slot="action"
slot-scope="{row}">
<i-col span="12">
@ -244,6 +243,10 @@ export default {
width: 250,
render: (h, params) => {
let that = this;
let color = "#3496EB"
if (parseInt(params.row.level) >= 3) {
color = "#999"
}
return h('div', [
h('span', {
style: {
@ -255,7 +258,9 @@ export default {
},
on: {
click: () => {
that.show(params.row)
if (parseInt(params.row.level) < 3) {
that.show(params.row)
}
}
}
}, '升级'),

Loading…
Cancel
Save