@aigc-ui/qm-pay-buy
v0.0.28
Published
> TODO: description
Downloads
22
Readme
@aigc-ui/qm-pay-buy
安装及使用说明
Install
npm i @aigc-ui/qm-pay-buy
or
cnpm i @aigc-ui/qm-pay-buy
Usage
在入口main.js
文件中引入
import QmiPayBuy from '@aigc-ui/qm-pay-buy';
Vue.use(QmiPayBuy);
在需要的地方引入example
<template>
<QmiPayBuy :params="params"></QmiPayBuy>
</template>
<script>
export default {
data() {
return {
goodsId: '',
}
},
computed: {
params() {
return {
type: 'goods', // goods || vip
goods_id: this.goodsId
}
}
}
}
</script>