Double-layer interaction regulated by the donnan potential