diff --git a/eslint.config.ts b/eslint.config.ts index 1a098fe..a1b7641 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -99,6 +99,8 @@ export default defineConfigWithVueTs( 'perfectionist/sort-imports': ['error'], 'perfectionist/sort-modules': 'off', 'perfectionist/sort-object-types': 'off', + 'perfectionist/sort-enums': 'off', + 'perfectionist/sort-union-types': 'off', }, }, // endregion <<< eslint-plugin-perfectionist <<< diff --git a/src/components/PinPuYi/PinPuYi.vue b/src/components/PinPuYi/PinPuYi.vue index 5a6b208..848feda 100644 --- a/src/components/PinPuYi/PinPuYi.vue +++ b/src/components/PinPuYi/PinPuYi.vue @@ -1,27 +1,122 @@ + {{ + { 选项卡菜单7个: $enum(选项卡菜单).getValues(), ...state } + }} - - - Freq/Channel - + + + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + + + + + {{ 选项卡标题 }} + + Center Freq - 1.50 Ghz + {{ state.Freq状态.center.value }} {{ state.Freq状态.center.unit }} Start Freq - 0.000000 hz + {{ state.Freq状态.start.value }} {{ state.Freq状态.start.unit }} Stop Freq - 3.0000 MHz + {{ state.Freq状态.stop.value }} {{ state.Freq状态.stop.unit }} CF Step @@ -39,6 +134,28 @@ import DeviceImage from './pin-pu-yi-bg.png'; Scale Type + + + + GHz + + + MHz + + + KHz + + + Hz + + + + +
{{ + { 选项卡菜单7个: $enum(选项卡菜单).getValues(), ...state } + }}