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.

14 lines
312 B

import { requestApi } from "./axios/request"
export let config = {
posts: {
briefMaxLen: 10,
writingEnabled: false
}
}
export function initUIConfig() {
requestApi.get("/uiconfig").then((res) => {
console.log("初始化UI config:", res.data)
config = res.data
})}