cursor position

I’m a beginner and I don’t know why I always start in the middle when I enter code using vue-codemirror.I am very sorry, please help me!