no message

This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-11-14 19:43:50 +08:00
parent 63f1db0183
commit e86e620efa
2 changed files with 3 additions and 3 deletions

View File

@@ -1576,7 +1576,7 @@ const essence = () => {
// 删除 // 删除
const deleteItem = () => { const deleteItem = () => {
managerDelete(token) managerDelete(topicToken.value)
.then(() => redirectToExternalWebsite("/", "_self")) .then(() => redirectToExternalWebsite("/", "_self"))
.finally(() => cutShow()); .finally(() => cutShow());
}; };

View File

@@ -10,7 +10,7 @@ axios.interceptors.request.use(
async (config) => { async (config) => {
// 开发时登录用的,可以直接替换小程序的 authorization // 开发时登录用的,可以直接替换小程序的 authorization
if (process.env.NODE_ENV !== "production") { if (process.env.NODE_ENV !== "production") {
const miucms_session = "3b01343c65e3b2fa3ce32ae26feb3a9b"; const miucms_session = "01346a38444d71aaadb3adad52b52c39";
document.cookie = "miucms_session=" + miucms_session; document.cookie = "miucms_session=" + miucms_session;
config["headers"]["authorization"] = miucms_session; config["headers"]["authorization"] = miucms_session;
} }
@@ -103,7 +103,7 @@ const del = (url, params) => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
//是将对象 序列化成URL的形式以&进行拼接 //是将对象 序列化成URL的形式以&进行拼接
axios axios
.delete(url, params) .delete(url, {params})
.then((res) => { .then((res) => {
let data = res.data; let data = res.data;
if (data.code == 401 && !process.server) goLogin(); if (data.code == 401 && !process.server) goLogin();