This commit is contained in:
邓皓元 2019-12-20 20:05:53 +08:00
parent 0a39fe4a9a
commit aa0377a2ca

View File

@ -285,6 +285,20 @@ export default {
key: "",
width: 100,
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;
return h(
"Button",