vue3 + vite Cannot access ‘xxx‘ before initialization

vue3 + vite Cannot access ‘xxx‘ before initialization 是用于循环引用造成的,不建议循环引用,所以遇到这种情况要优化代码