I get a optimal solution with cvx, but I can't get the same result when I use the optimal solution

I haven’t really looked at what you have done, and why/whether the 2nd calculation should, other than roundoff or solver tolerance, match the first calculation.

However, the scaling on your problem is atrocious. Please recall the guidance provided by @Erling on your previous forum question When I used CVXQUAD,I still get Failed You need to try to get the input numbers in your problem to be either exactly zero, or within a small number of orders of magnitude of one.

Due to yur horrible scaling, if you get a solution to your first CVX invocation in your post above, it is meaningless junk. SeDuMi ran into numerical problems and CVX reported Inaccurate.solved. SDPT3 and Mosek 9 reported it infeasible.