jiangwei小站
24 字
1 分钟
vue 组件递归调用自己
2022-07-01
import { Vue, Component } from "vue-property-decorator";

@Component({
  name: "MyComponent",
})
export default class MyComponent extends Vue {}
export default {
  name: "MyComponet",
};
<MyComponet v-if=""></MyComponet>