It made total sense to me that Cersei wouldn't attack Daenerys during their meeting in Game of Thrones season 7. But why would Daenerys not use the opportunity? After all, the only reason that kept her from attacking the city and taking it via brute force, was the people. But here she wouldn't have harmed a single person in King's Landing. Yet she held a meeting with her enemy, who wouldn't have lasted a second if the Mother of Dragons had decided to burn down their tent?
Daenerys is trying, really hard, to not be a bloody dictator and leave a trail of bodies behind her like her ancestors did. While she wants the throne back, she doesn't want to be seen as a traitor or back-stabber, but rather as the rightful heir and friend to the people. Killing the queen at a meeting to talk about an armistice does not lead to good faith in the people.
DForck42 is correct, but also Daenerys fears the dead army and probably hopes she can get more Westerosi support for fighting it if Cersei willingly helps, rather than is murdered. If she killed Cersei, there is no guarantee what would happen with her resources or what's left of her army or the other houses in Westeros.