Commit 15756db4 authored by xiaoye's avatar xiaoye

修复清空接口bug

parent cf27b056
Pipeline #39501 passed with stages
in 58 seconds
......@@ -101,7 +101,7 @@
<br>
<uni-easyinput v-show = 'operatorChk()' type = 'text' placeholder = '卡图图床(例:https://example.com/api/)' v-model = 'tournament.pics'/>
<br>
<view class = 'button' @click = 'tournament.update()'>
<view class = 'button' @click = 'tournament.update()' v-show = 'operatorChk()'>
<view>
<span>设置</span>
<uni-icons type = 'calendar'></uni-icons>
......
......@@ -316,7 +316,7 @@ class TabulatorAPI {
};
try {
Loading.value = true;
response = await this.url.post(`/api/tournament/${id}/clear-participants`, {
response = await this.url.post(`/api/tournament/${id}/clear-participants`, {}, {
headers: {
'x-user-token' : token
}
......
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