init
This commit is contained in:
parent
0a39fe4a9a
commit
aa0377a2ca
@ -285,6 +285,20 @@ export default {
|
|||||||
key: "",
|
key: "",
|
||||||
width: 100,
|
width: 100,
|
||||||
render: (h, { row, column, index }) => {
|
render: (h, { row, column, index }) => {
|
||||||
|
if (!this.settingsData.package_type[row.package_type]) {
|
||||||
|
return h(
|
||||||
|
"Button",
|
||||||
|
{
|
||||||
|
props: {
|
||||||
|
type: "danger",
|
||||||
|
size: "small"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'未设置'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
let text = this.settingsData.package_type;
|
let text = this.settingsData.package_type;
|
||||||
return h(
|
return h(
|
||||||
"Button",
|
"Button",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user