update model selector

This commit is contained in:
AceDataCloud committed 2023-10-02 00:28:16 +08:00
1 parent aef00375d7
commit 48e6d1bfb4
3 files changed
+25 -5

No files matched your search

+5 -1
View File
@@ -85,6 +85,9 @@ export default defineComponent({
},
methods: {
onSwitchGroup(group: any) {
if (this.activeGroup === group.value) {
return;
}
this.activeGroup = group.value;
const options = group.options;
if (options && options.length > 0) {
@@ -105,8 +108,9 @@ export default defineComponent({
<style lang="scss" scoped>
.model-selector {
background-color: #ececf1;
padding: 7px;
padding: 7px 6px;
border-radius: 15px;
margin-bottom: 5px;
.group {
padding: 20px 30px;
color: black;