feat: 优化了一言数据加载

This commit is contained in:
first19326 2023-11-04 20:28:41 +08:00
parent 46b187d01f
commit 5097e18e31

View File

@ -59,13 +59,13 @@ const getHitokotoData = () => {
fill: "#efefef",
}),
});
hitokotoData.text = "这里应该显示一句话";
hitokotoData.from = "無名";
});
};
//
const updateHitokoto = () => {
hitokotoData.text = "新的一言正在赶来的路上";
hitokotoData.from = "来源加载中";
//
debounce(() => {
getHitokotoData();