mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 18:09:23 +08:00
feat(ui): update components CMDBExprDrawer
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
:bodyStyle="{ padding: '24px 12px' }"
|
||||
:placement="placement"
|
||||
>
|
||||
<ResourceSearch :fromCronJob="true" @copySuccess="copySuccess" />
|
||||
<ResourceSearch ref="resourceSearch" :fromCronJob="true" :type="type" :typeId="typeId" @copySuccess="copySuccess" />
|
||||
</CustomDrawer>
|
||||
</template>
|
||||
|
||||
@@ -23,6 +23,14 @@ export default {
|
||||
type: String,
|
||||
default: 'right',
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: 'resourceSearch'
|
||||
},
|
||||
typeId: {
|
||||
type: Number,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@@ -438,6 +438,7 @@ export default {
|
||||
},
|
||||
async handleSearch() {
|
||||
this.currentPage = 1
|
||||
// await this.updateAllAttributesList()
|
||||
this.loadInstance()
|
||||
},
|
||||
onShowSizeChange(current, pageSize) {
|
||||
|
Reference in New Issue
Block a user