diff --git a/DashboardAnalysis/src/style.less b/DashboardAnalysis/src/style.less index 1967c3a6c2dd1b057f2b445171401712654ed239..8c0f13ad919ec553d8f686311f84f1a2533a4edb 100644 --- a/DashboardAnalysis/src/style.less +++ b/DashboardAnalysis/src/style.less @@ -47,7 +47,7 @@ font-size: 12px; line-height: 20px; text-align: center; - background-color: @background-color-base; + background-color: @tag-default-bg; border-radius: 20px; &.active { color: #fff; diff --git a/ListTableList/src/service.ts b/ListTableList/src/service.ts index c5b6ae5b2eed84f653b00a0a8e54737b6e6f4950..003cabb4fdf8e55d66e56b082e4cb33e513212a6 100644 --- a/ListTableList/src/service.ts +++ b/ListTableList/src/service.ts @@ -2,13 +2,13 @@ import request from 'umi-request'; import { TableListParams } from './data'; export async function queryRule(params: TableListParams) { - return request(`/api`, { + return request(`/api/rule`, { params, }); } export async function removeRule(params: TableListParams) { - return request('/api', { + return request('/api/rule', { method: 'POST', data: { ...params, @@ -18,7 +18,7 @@ export async function removeRule(params: TableListParams) { } export async function addRule(params: TableListParams) { - return request('/api', { + return request('/api/rule', { method: 'POST', data: { ...params, @@ -28,7 +28,7 @@ export async function addRule(params: TableListParams) { } export async function updateRule(params: TableListParams) { - return request('/api', { + return request('/api/rule', { method: 'POST', data: { ...params, diff --git a/ResultSuccess/src/index.less b/ResultSuccess/src/index.less index 3610827ec0182bca6c32d3a20c315e6fe6ea7295..784a57c7addfddc8805d2553356898b1e230787a 100644 --- a/ResultSuccess/src/index.less +++ b/ResultSuccess/src/index.less @@ -10,7 +10,7 @@ .head-title { margin-bottom: 20px; - color: rgba(0, 0, 0, 0.85); + color: @heading-colo; font-weight: 500px; font-size: 16px; } diff --git a/package.json b/package.json index bc2c62883b0906f4993207a8931e77dc67b9d61f..376b21b4968c9c756e08360ebbfbab19f3f14796 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "scripts": { - "dev": "cross-env PAGES_PATH='AccountSettings/src' umi dev", + "dev": "cross-env PAGES_PATH='DashboardAnalysis/src' umi dev", "lint": "npm run lint:ts && npm run lint:style && npm run lint:prettier", "lint-staged": "lint-staged", "lint-staged:ts": "tslint",