From 1b0adbfe712bb53f5e33e3f8fc04c8ad31d8766b Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Mon, 8 Apr 2024 17:16:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Web=E8=B5=84=E4=BA=A7=E5=85=8B=E9=9A=86?= =?UTF-8?q?=EF=BC=8C=E9=80=89=E6=8B=A9=E5=99=A8=E4=BF=A1=E6=81=AF=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/assets/const.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/assets/const.js b/src/views/assets/const.js index 959d1dc14..51d0a6e33 100644 --- a/src/views/assets/const.js +++ b/src/views/assets/const.js @@ -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