update model selector
This commit is contained in:
1 parent
aef00375d7
commit
48e6d1bfb4
3 files changed
+25
-5
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user