要做一个小程序,会有弹窗,但是uni-app的API组件uni.showModal不足以满足我的需求,于是我用HBuilderX引入了uni-popup。 代码是这样的 <button @click="open">打开弹窗</button> <...