Is this a bug about the Plane Markups?

I put a plane in the 2D view, but the center of the plane does not adjust as the plane changes.
This should be the same as ROI, which can be adjusted at any time.
How to modify the code?

I am guessing you are using the default point and normal plane creation mode. If you want to interact with the planes in a manner similar to ROI, you probably want to use the three points option.