Skip to content

Commit

Permalink
Merge pull request #852 from WeBankPartners/821_enhance_table_comp
Browse files Browse the repository at this point in the history
#821 enhance table comp
  • Loading branch information
irvinezhao authored Apr 20, 2020
2 parents b819e2c + 62b4033 commit 8f4846d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmdb-ui/src/main-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import enUS from './locale/i18n/en-US.json'
import WeCMDBSelect from '../src/pages/components/select.vue'
import WeCMDBRefSelect from './pages/components/ref-select.js'
import WeCMDBTable from './pages/components/table.js'
import CMDBTable from '../src/pages/components/cmdb-table/index.js'
import WeCMDBSimpleTable from '../src/pages/components/simple-table.vue'
import WeCMDBAttrInput from '../src/pages/components/attr-input'
import WeCMDBSequenceDiagram from '../src/pages/components/sequence-diagram.vue'
Expand All @@ -14,6 +15,7 @@ import WeCMDBCIPassword from '../src/pages/components/ci-password.vue'
window.component('WeCMDBSelect', WeCMDBSelect)
window.component('WeCMDBRefSelect', WeCMDBRefSelect)
window.component('WeCMDBTable', WeCMDBTable)
window.component('CMDBTable', CMDBTable)
window.component('WeCMDBSimpleTable', WeCMDBSimpleTable)
window.component('WeCMDBAttrInput', WeCMDBAttrInput)
window.component('WeCMDBSequenceDiagram', WeCMDBSequenceDiagram)
Expand Down
2 changes: 1 addition & 1 deletion cmdb-ui/src/pages/designing/ci-data.vue
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ export default {
}
this.tabList.push(ci)
this.currentTab = g.id
this.queryCiAttrs(g.id)
this.$nextTick(() => {
this.queryCiAttrs(g.id)
this.queryCiData(query)
})
} else {
Expand Down

0 comments on commit 8f4846d

Please sign in to comment.