合并
This commit is contained in:
@ -80,12 +80,12 @@ const goHome = () => {
|
||||
};
|
||||
//获取天气
|
||||
const getweatherData = async () => {
|
||||
const res = await getweatherList(currentProject.value.id);
|
||||
const res = await getweatherList(currentProject.value?.id);
|
||||
weatherData.value = res.data;
|
||||
};
|
||||
//获取生产天数
|
||||
const getProductionDays = async () => {
|
||||
const res = await getSafetyDay(currentProject.value.id);
|
||||
const res = await getSafetyDay(currentProject.value?.id);
|
||||
safetyDay.value = res.data.safetyDay.toLocaleString();
|
||||
};
|
||||
//获取白天或夜晚
|
||||
|
Reference in New Issue
Block a user