is there any way to create a global component that to use everywhere that whitout injection?

后端 未结 0 525
遇见更好的自我
遇见更好的自我 2020-12-05 13:13

in fact, there is a case that we need a component in global. just use it like this.$toast(\'some words\') or this.$dialog({title:\'title words\',contentText:\'some words\').

相关标签:
回答
  • 消灭零回复
提交回复
热议问题