mirror of
https://github.com/jumpserver/lina.git
synced 2025-05-13 02:24:21 +00:00
perf: Asset domain
This commit is contained in:
parent
bdb5c83814
commit
2f8480eea6
@ -42,6 +42,7 @@ export default {
|
||||
}
|
||||
},
|
||||
data() {
|
||||
const vm = this
|
||||
return {
|
||||
formConfig: {
|
||||
getUrl: () => {
|
||||
@ -74,7 +75,7 @@ export default {
|
||||
cleanFormValue(values) {
|
||||
const data = []
|
||||
values.assets.forEach(item => {
|
||||
const d = { id: item, domain: this.$route.params.id }
|
||||
const d = { id: item, domain: vm.object.id }
|
||||
data.push(d)
|
||||
})
|
||||
return data
|
||||
|
Loading…
Reference in New Issue
Block a user