简体   繁体   中英

Emit is not working on result of a function

I am posting data to repo for saving a database. After this I don't want to get all data again because I have 30000 reg. I just want to get last added one but emit function is not working properly. I have handleResponse function in backend for all database transactions. and it response with id last of reg. I want to get just last one by id I mean not getall function I want to use getByid function, but is not working.

无用的排放

I am posting data to repo for saving a database. After this I don't want to get all data again because I have 30000 reg. I just want to get last added one but emit function is not working properly. I have handleResponse function in backend for all database transactions. and it response with id last of reg. I want to get just last one by id I mean not getall function I want to use getByid function, but is not working.

无用的排放

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM