上传小程序修改合入
This commit is contained in:
@@ -26,8 +26,8 @@ const DEFAULT_COORDINATES = {
|
||||
|
||||
const MODE_OPTIONS: Array<{ key: TrajectoryMode; label: string }> = [
|
||||
{ key: 'current', label: '当前位置' },
|
||||
{ key: 'today', label: '今日轨迹' },
|
||||
{ key: 'recent', label: '最近点位' },
|
||||
// { key: 'today', label: '今日轨迹' },
|
||||
// { key: 'recent', label: '最近点位' },
|
||||
]
|
||||
|
||||
function formatTime(value?: string | null): string {
|
||||
@@ -339,7 +339,7 @@ export default function Location() {
|
||||
</View>
|
||||
) : (
|
||||
<View className='location-empty'>
|
||||
<Text className='location-empty-title'>暂无设备位置</Text>
|
||||
<Text className='location-empty-title'>当前孩子暂无设备位置</Text>
|
||||
</View>
|
||||
)
|
||||
) : trajectory.length > 0 ? (
|
||||
@@ -384,7 +384,7 @@ export default function Location() {
|
||||
<View className='location-empty'>
|
||||
<Text className='location-empty-title'>暂无轨迹</Text>
|
||||
<Text className='location-empty-desc'>
|
||||
{trajectoryMode === 'today' ? '今天还没有新的历史点位。' : '最近时间范围内没有新的历史点位。'}
|
||||
{trajectoryMode === 'today' ? '当前孩子今天还没有新的历史点位。' : '当前孩子最近没有新的历史点位。'}
|
||||
</Text>
|
||||
</View>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user