Optimized some problems with the code. In light mode, press G to adjust the light distance, press S to scale the light, left click to confirm the adjustment, right click to cancel the adjustment. Optimized the occupancy problem of the same shortcut key in other modes, now only selecting the light in object mode will trigger the light's function.
Releasing the initial version