feat: Implement customize menus (#297)

This commit is contained in:
Fine0830
2023-07-11 17:19:30 +08:00
committed by GitHub
parent 64293da11c
commit a521e041a7
40 changed files with 477 additions and 859 deletions

View File

@@ -21,5 +21,5 @@ const CancelToken = axios.CancelToken;
export const cancelToken = (): any =>
new CancelToken(function executor(c) {
const w = window as any;
w.axiosCancel.push(c);
(w.axiosCancel || []).push(c);
});