当本地开发vue2版本相关组件时,请将node版本降低到node14× 使用的vue相关的api时不要直接引用vue如下: 正确的 import { ref, Ref, watch, PropType, nextTick } from "vue-demi"; 不正确的 import { ref, Ref, watch, PropType, nextTick } from "vue";