Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-06-07 16:44:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fe3fcc1cc57a196afc113c0c88a3823edbbc8976
fe3fcc1c
1 parent
f578dd62
🐞 fix(捐花组件): 修复用户类型字段
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
src/api/C/donate.js
src/components/DonateBar/index.vue
src/components/DonateFlower/index.vue
src/api/C/donate.js
View file @
fe3fcc1
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-06-01 16:00:48
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-0
1 16:37:19
* @LastEditTime: 2022-06-0
7 16:37:07
* @FilePath: /tswj/src/api/C/donate.js
* @Description: 捐钱操作API
*/
...
...
src/components/DonateBar/index.vue
View file @
fe3fcc1
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-31 18:32:38
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-0
2 21:15:28
* @LastEditTime: 2022-06-0
7 16:33:09
* @FilePath: /tswj/src/components/DonateBar/index.vue
* @Description: 爱心助力底部固定栏
-->
...
...
src/components/DonateFlower/index.vue
View file @
fe3fcc1
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-31 22:09:58
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-0
2 21:40:50
* @LastEditTime: 2022-06-0
7 16:41:09
* @FilePath: /tswj/src/components/DonateFlower/index.vue
* @Description: 捐花组件
-->
...
...
@@ -121,10 +121,10 @@ const donateFlower = async () => {
qty: donate_number.value,
donate_name: props.item.donate_name,
};
if (props.
donate
Type === 'C') { // 助力TA
if (props.
user
Type === 'C') { // 助力TA
params.perf_id = props.item.perf_id;
params.kg_id = props.item.kg_id;
} else if (props.
donate
Type === 'K') {
} else if (props.
user
Type === 'K') {
params.kg_id = props.item.kg_id;
}
const { data } = await addDonateAPI(params);
...
...
Please
register
or
login
to post a comment