Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-packages
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许振钊
ydl-packages
Commits
a507b4a7
Commit
a507b4a7
authored
Feb 13, 2023
by
郑炬波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 组合支付余额消失改禁掉
parent
f4955d03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
package.json
packages/toolkit/package.json
+1
-1
Payment.ts
packages/toolkit/src/Payment/Payment.ts
+1
-1
No files found.
packages/toolkit/package.json
View file @
a507b4a7
{
{
"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"
:
{
...
...
packages/toolkit/src/Payment/Payment.ts
View file @
a507b4a7
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment