企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
# prototype 原型的使用 # prototype vue.prototype.test = function(){ console.log("test") } d定义了vue的原型 所有组件都可以通过this.test()来调用这个方法