From 71bbef69c74521c02e8a7d9d009d82a6d35ac015 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 13 Jan 2023 11:04:58 +0900 Subject: [PATCH] :v: --- packages/frontend/src/pages/admin/roles.editor.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/pages/admin/roles.editor.vue b/packages/frontend/src/pages/admin/roles.editor.vue index f584c5c8bf..e1efb8dcec 100644 --- a/packages/frontend/src/pages/admin/roles.editor.vue +++ b/packages/frontend/src/pages/admin/roles.editor.vue @@ -165,9 +165,11 @@ let options_driveCapacityMb_value = $ref(role?.options?.driveCapacityMb?.value ? let options_antennaLimit_useDefault = $ref(role?.options?.antennaLimit?.useDefault ?? true); let options_antennaLimit_value = $ref(role?.options?.antennaLimit?.value ?? 0); -watch($$(condFormula), () => { - console.log(condFormula); -}, { deep: true }); +if (_DEV_) { + watch($$(condFormula), () => { + console.log(JSON.parse(JSON.stringify(condFormula))); + }, { deep: true }); +} function getOptions() { return {