diff --git a/src/api/otherPage.js b/src/api/otherPage.js index 494270f..44a871c 100644 --- a/src/api/otherPage.js +++ b/src/api/otherPage.js @@ -12,3 +12,14 @@ export function GET_LIST(params) { data: params }).then(res => res.data) } + +/** + * 修改常量内容 + */ +export function UPDATE_DATA(params) { + return request({ + url: `${constant}/update`, + method: 'post', + data: params + }).then(res => res.data) +} diff --git a/src/assets/bg.png b/src/assets/bg.png new file mode 100644 index 0000000..f3d1319 Binary files /dev/null and b/src/assets/bg.png differ diff --git a/src/views/lists/index.vue b/src/views/lists/index.vue index 27d9aa2..a439f94 100644 --- a/src/views/lists/index.vue +++ b/src/views/lists/index.vue @@ -36,12 +36,14 @@
{{ item.title }}
@@ -88,7 +90,7 @@