Raspberry Pi pico incomplete when reading serial data

I am using Raspberry Pi pico to communicate with the serial screen.
If I use uart.readline() to read data from serial port of Raspberry Pi pico, the data will be received incomplete. How can I fix this?