feature_0521
zhenghuang 5 years ago
parent 2cd4cca609
commit 7e2d085286

@ -244,6 +244,10 @@ export default {
width: 250, width: 250,
render: (h, params) => { render: (h, params) => {
let that = this; let that = this;
let color = "#3496EB"
if (parseInt(params.row.level) >= 3) {
color = "#999"
}
return h('div', [ return h('div', [
h('span', { h('span', {
style: { style: {
@ -255,9 +259,11 @@ export default {
}, },
on: { on: {
click: () => { click: () => {
if (parseInt(params.row.level) < 3) {
that.show(params.row) that.show(params.row)
} }
} }
}
}, '升级'), }, '升级'),
h('span', { h('span', {
style: { style: {

Loading…
Cancel
Save