天气组件的市区改为城市名字
This commit is contained in:
parent
7deb0fc847
commit
f9b78b7674
|
@ -148,6 +148,7 @@ export default defineComponent({
|
||||||
const build_info = await GlobalData.getInstance()
|
const build_info = await GlobalData.getInstance()
|
||||||
.getCurrentClient()
|
.getCurrentClient()
|
||||||
?.getBuildInfo();
|
?.getBuildInfo();
|
||||||
|
console.log(build_info);
|
||||||
if (build_info) {
|
if (build_info) {
|
||||||
server_version.value = build_info.version;
|
server_version.value = build_info.version;
|
||||||
server_commit_hash.value = build_info.commit_hash;
|
server_commit_hash.value = build_info.commit_hash;
|
||||||
|
|
|
@ -381,9 +381,9 @@ export default defineComponent({
|
||||||
area_options.value = [];
|
area_options.value = [];
|
||||||
for (const _area of city_data.data.areas) {
|
for (const _area of city_data.data.areas) {
|
||||||
let area_value = _area.area;
|
let area_value = _area.area;
|
||||||
if (_area.area == city.value) {
|
/*if (_area.area == city.value) {
|
||||||
area_value = $t.t("city_city_area");
|
area_value = $t.t("city_city_area");
|
||||||
}
|
}*/
|
||||||
area_options.value.push({
|
area_options.value.push({
|
||||||
label: area_value,
|
label: area_value,
|
||||||
value: area_value,
|
value: area_value,
|
||||||
|
|
Loading…
Reference in New Issue