Hi Linhui,
I am a bit confused, but let's go step-by-step. You first issued an edit config with the configuration from the first screenshot. We can see the reply OK in the second screenshot, first edit-config meaning that there was such "dest-addr" in your running configuration and it got deleted. At this point I would suggest to send get-config and verify that this "dest-addr" was actually deleted, it should have been. But instead you tried to send another edit-config, which somehow failed (CLI got stuck the way it's in your screenshot? Did you type any data before? Are you using the CLI from the master branch?)?
Concerning your code, if you do not want to react in any way on removing this node, you do not need to do anything else. The configuration will get updated regardless of the code in your transAPI module.
Regards,
Michal