丰都图标样式基本完成

This commit is contained in:
aixianling
2023-10-19 17:19:15 +08:00
parent b7b1431b20
commit e55b5b8a8d
5 changed files with 185 additions and 32 deletions

View File

@@ -34,7 +34,7 @@ export default {
computed: {
...mapState(['user']),
currentRoot: v => v.user.info.areaId.substr(0, 6).padEnd(12, '0'),
tabs: v => [...v.views ]
tabs: v => [...v.views]
},
data() {
return {
@@ -47,20 +47,13 @@ export default {
handler(v) {
if (v != this.current) this.current = this.$copy(this.active)
}
}
},
methods: {
getWeather() {
this.$request.post("/app/weather/queryWeather").then(res => {
if (res?.data) {
}
})
},
current(v) {
this.$emit("change", v)
}
},
created() {
this.current = this.$copy(this.user.info.areaId)
// this.getWeather()
}
}
</script>