Mode 层 主题类 import { HTTP } from '../utils/http.js'; // 主题 class ThemeModel extends HTTP { getAll() { return this.request({ url: 'theme/getAll', }) } get(id) { return this.request({ url: 'theme/get?id=' + id, }) } } export { ThemeModel }