1.8 version

This commit is contained in:
zhengjie
2019-05-14 09:09:20 +08:00
parent bd385f642f
commit 2d9864f603
18 changed files with 223 additions and 248 deletions

View File

@@ -17,6 +17,11 @@
<el-switch v-model="sidebarLogo" class="drawer-switch" />
</div>
<div class="drawer-item">
<span>显示 SettingBtn</span>
<el-switch v-model="settingBtn" class="drawer-switch" />
</div>
</div>
</div>
</template>
@@ -59,6 +64,17 @@ export default {
value: val
})
}
},
settingBtn: {
get() {
return this.$store.state.settings.settingBtn
},
set(val) {
this.$store.dispatch('changeSetting', {
key: 'settingBtn',
value: val
})
}
}
}
}