We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28b2eba commit 53cbc41Copy full SHA for 53cbc41
apps/web/src/components/CodemirrorEditor/CssEditor.vue
@@ -1,4 +1,5 @@
1
<script setup lang="ts">
2
+import { themeOptions } from '@md/shared'
3
import { Edit3, Plus, X } from 'lucide-vue-next'
4
import { useDisplayStore, useStore } from '@/stores'
5
@@ -102,7 +103,7 @@ function delTab() {
102
103
}
104
105
function addHandler() {
- addInputVal.value = `方案${store.cssContentConfig.tabs.length + 1}`
106
+ addInputVal.value = `方案${store.cssContentConfig.tabs.length - themeOptions.length + 1}`
107
isOpenAddDialog.value = true
108
109
0 commit comments