新增: 全局色弱模式;
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {animates} from '@/config'
|
||||
import animates from '@/config/animates'
|
||||
|
||||
export default {
|
||||
name: 'PageToggleTransition',
|
||||
@@ -16,7 +16,7 @@
|
||||
animate: {
|
||||
type: String,
|
||||
validator(value) {
|
||||
return animates.find(item => item.name == value) != -1
|
||||
return animates.findIndex(item => item.name == value) != -1
|
||||
},
|
||||
default: 'bounce'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user