She wasn't electrocuted, she was strangled...with an electric wire!
Based on the current date, she died two months after the Ruanlin Family's death next year. Before she died, she had realized something was off about that "Ruan Jiaojiao," but "Ruan Jiaojiao" didn't give her a chance to think it over, strangling her with an electric wire that very day.
As for the electrocution that Ruan Jiaojiao spoke of, it was probably a ruse staged by that "Ruan Jiaojiao."
She even suspected that the deaths of Ruan Qun, Ruan Chi, and possibly even the Ruanlin Family were related to them noticing that something was amiss.
However, all these events were in the past, and they wouldn't happen in the future. Because they were too gruesome and terrifying, she never spoke in detail about the cause of her own death.