diff --git a/frontend/src/views/virtual/packages/js/index.js b/frontend/src/views/virtual/packages/js/index.js index 37ba9a6b..b26f6387 100644 --- a/frontend/src/views/virtual/packages/js/index.js +++ b/frontend/src/views/virtual/packages/js/index.js @@ -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",