这是基于vue-vben-admin 模板适用于abp vNext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
391 B

import { defAbpHttp } from '/@/utils/http/abp';
import { ThemeSetting } from './model/themeModel';
export const getTheme = () => {
return defAbpHttp.get<ThemeSetting>({
url: '/api/theme/vue-vben-admin',
});
};
export const changeTheme = (themeSetting: ThemeSetting) => {
return defAbpHttp.put<void>({
url: '/api/theme/vue-vben-admin/change',
data: themeSetting,
});
};