diff --git a/src/apis/update.js b/src/apis/update.js
index bec1c4a..014592f 100644
--- a/src/apis/update.js
+++ b/src/apis/update.js
@@ -3,13 +3,14 @@ import request from "@/request/index.js";
export const cinema_list = () => {
// console.log('cinema_list')
return request({
- url: '/update/cinema/refresh',
+ url: '/update/cinema/refresh/?ordering=ip',
method: 'get'
})
}
export const cinema_search = (params) => {
const req_params = {
+ ordering: 'ip',
search: params['version'],
ip: params['ip']
}
diff --git a/src/views/update/index.vue b/src/views/update/index.vue
index bc6c19c..e6adfe7 100644
--- a/src/views/update/index.vue
+++ b/src/views/update/index.vue
@@ -76,7 +76,8 @@ const resetSearch = (formEl) => {
formEl.resetFields()
}
-const refresh = () => {
+const refresh = (formEL) => {
+ formEL.resetFields()
refresh_disable.value = true;
refresh_loading.value = true;
get_table_data()
@@ -143,7 +144,7 @@ onMounted(
重置
- 刷新
+ 刷新