From a4539ae30736be48afa4e60c8e2c6164d38c6eab Mon Sep 17 00:00:00 2001 From: mertsincan Date: Sun, 11 Feb 2024 08:30:04 +0000 Subject: [PATCH] Refactor #5257 --- components/lib/inputswitch/InputSwitch.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/inputswitch/InputSwitch.vue b/components/lib/inputswitch/InputSwitch.vue index 8d3d8c5f3..0045a4fc3 100755 --- a/components/lib/inputswitch/InputSwitch.vue +++ b/components/lib/inputswitch/InputSwitch.vue @@ -32,7 +32,7 @@ export default { emits: ['update:modelValue', 'change', 'focus', 'blur'], methods: { getPTOptions(key) { - const _ptm = root === 'root' ? this.ptmi : this.ptm; + const _ptm = key === 'root' ? this.ptmi : this.ptm; return _ptm(key, { context: {