丰都图标样式基本完成
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user