inleft
2022-08-26 87317f44d9cc20ad70b6971168667e1c843e03d8
src/components/group/platformGroup.vue
@@ -1,5 +1,5 @@
<template>
   <a-tabs :defaultActiveKey="activeKey" @change="changeKey"
      :tabBarStyle="{'display': 'flex','justify-content': 'center'}">
      <a-tab-pane :key="keyType.type_1" tab="片刻">
@@ -44,8 +44,9 @@
               var random = Math.floor(Math.random() * 10);
               this.activeKey = random >= 8 ?
                  this.keyType.type_3 : (random <= 3 ? this.keyType.type_2 : this.keyType.type_1)
               this.$router.replace({query:{activeKey:this.activeKey}})
            }
            this.$router.replace({query:{activeKey:this.activeKey}})
         },
         changeKey(key) {
            this.activeKey = key