Commit d96910b3 authored by 陈帅's avatar 陈帅

style : support theme dark

parent 63d96d20
......@@ -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;
......
......@@ -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,
......
......@@ -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;
}
{
"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",
......
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