mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 06:42:26 +00:00
fix: Web资产克隆,选择器信息丢失
This commit is contained in:
parent
c28419438b
commit
1b0adbfe71
@ -28,7 +28,7 @@ export const filterSelectValues = (values) => {
|
||||
|
||||
function updatePlatformProtocols(vm, platformType, updateForm, isPlatformChanged = false) {
|
||||
setTimeout(() => vm.init().then(() => {
|
||||
const isCreate = vm?.$route?.meta.action === 'create'
|
||||
const isCreate = vm?.$route?.meta.action === 'create' && vm?.$route?.query.clone_from === undefined
|
||||
if (platformType === 'website') {
|
||||
const need_modify = isCreate || isPlatformChanged
|
||||
if (!need_modify) return
|
||||
|
Loading…
Reference in New Issue
Block a user