@uxda/appkit 1.0.4 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/index.js +1675 -1646
- package/package.json +3 -4
- package/{rollup.config.js → rollup.config.mjs} +3 -4
- package/src/index.ts +20 -1
- package/src/payment/components/UserAgreement.vue +72 -152
- package/src/payment/index.ts +6 -1
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ import { BalanceCard } from '@uxda/appkit'
|
|
|
85
85
|
|
|
86
86
|
```html
|
|
87
87
|
<template>
|
|
88
|
-
<balance-card @
|
|
88
|
+
<balance-card @drill="onBalanceCardDrill" @recharge="onBalanceCardRecharge" />
|
|
89
89
|
<template>
|
|
90
90
|
```
|
|
91
91
|
|
|
@@ -141,7 +141,8 @@ const $app = useAppKit()
|
|
|
141
141
|
$app.requestPayment({
|
|
142
142
|
app: 'crm',
|
|
143
143
|
tenant: '1',
|
|
144
|
-
amount: 100
|
|
144
|
+
amount: 100,
|
|
145
|
+
user: '' // wx.login 之后得到的用户临时凭证
|
|
145
146
|
})
|
|
146
147
|
```
|
|
147
148
|
|