mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-11 19:41:55 +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) {
|
function updatePlatformProtocols(vm, platformType, updateForm, isPlatformChanged = false) {
|
||||||
setTimeout(() => vm.init().then(() => {
|
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') {
|
if (platformType === 'website') {
|
||||||
const need_modify = isCreate || isPlatformChanged
|
const need_modify = isCreate || isPlatformChanged
|
||||||
if (!need_modify) return
|
if (!need_modify) return
|
||||||
|
Loading…
Reference in New Issue
Block a user