Current location - Recipe Complete Network - Complete cookbook - Json-server specified the id, but deleted all data.
Json-server specified the id, but deleted all data.
Set questions. The reason for deleting all data is that the saving function of json-server software is not set. The solution is:

1, open the json-server software first.

2. Find the settings bar.

3. Find the file storage settings in the settings bar.

4. Select Auto Save. There will be no more cases where you specify an id and delete all the data.