Commit a507b4a7 by 郑炬波

feat: 组合支付余额消失改禁掉

parent f4955d03
{ {
"name": "@ydl-packages/toolkit", "name": "@ydl-packages/toolkit",
"version": "1.0.6-next.1", "version": "1.0.6-next.3",
"description": "", "description": "",
"main": "./dist/index.umd.js", "main": "./dist/index.umd.js",
"scripts": { "scripts": {
......
...@@ -122,7 +122,7 @@ export class Payment { ...@@ -122,7 +122,7 @@ export class Payment {
return { return {
...item, ...item,
label: `余额<span class="balance">(可用¥${this.balance})</span>`, label: `余额<span class="balance">(可用¥${this.balance})</span>`,
disabled: this.balance > 0 && this.balance < totalAmount disabled: this.supportCombination ? (this.balance > 0 && this.balance < totalAmount) : true
} }
} }
return item return item
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment