add enable animate option

This commit is contained in:
MaysWind
2020-11-01 12:39:41 +08:00
parent 0536efeb20
commit 36b8c9ef0f
5 changed files with 24 additions and 2 deletions
+3 -1
View File
@@ -9,6 +9,8 @@ import routes from './router/mobile.js';
export default {
data() {
const self = this;
return {
f7params: {
name: 'lab',
@@ -16,7 +18,7 @@ export default {
theme: 'ios',
routes: routes,
view: {
animate : false
animate : self.$settings.isEnableAnimate()
}
}
}