fix: 修复系统更新 API 路由错误(/update/execute -> /update/update)
This commit is contained in:
@@ -113,7 +113,7 @@ const SystemUpdate: React.FC = () => {
|
|||||||
cancelText: '取消',
|
cancelText: '取消',
|
||||||
onOk: async () => {
|
onOk: async () => {
|
||||||
try {
|
try {
|
||||||
const response = await apiClient.post('/update/execute', {})
|
const response = await apiClient.post('/update/update', {})
|
||||||
const data = response.data
|
const data = response.data
|
||||||
|
|
||||||
if (data.code === 0) {
|
if (data.code === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user