no message
This commit is contained in:
parent
31157ef7cc
commit
2c38811ed6
@ -460,6 +460,7 @@ const cancelCollection = (token, index, uniqid) => {
|
||||
|
||||
<style lang="less">
|
||||
.dialog-box {
|
||||
background: transparent;
|
||||
header {
|
||||
display: none;
|
||||
}
|
||||
|
@ -1,24 +1,23 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
ssr: true,
|
||||
devtools: { enabled: true },
|
||||
modules: ["@element-plus/nuxt"],
|
||||
optimizeDeps: {
|
||||
include: ['dayjs'],
|
||||
},
|
||||
ssr: true,
|
||||
devtools: { enabled: true },
|
||||
modules: ["@element-plus/nuxt"],
|
||||
|
||||
router: {
|
||||
pages: false
|
||||
},
|
||||
|
||||
app: {
|
||||
head: {
|
||||
link: [{ rel: "stylesheet", href: "//bbs.gter.net/data/cache/style_2_common.css?Z62" }],
|
||||
script: [
|
||||
{
|
||||
src: "//bbs.gter.net/static/js/common.js",
|
||||
body: true,
|
||||
charset: "gb2312",
|
||||
},
|
||||
{
|
||||
innerHTML: `
|
||||
app: {
|
||||
head: {
|
||||
link: [{ rel: "stylesheet", href: "//bbs.gter.net/data/cache/style_2_common.css?Z62" }],
|
||||
script: [
|
||||
{
|
||||
src: "//bbs.gter.net/static/js/common.js",
|
||||
body: true,
|
||||
charset: "gb2312",
|
||||
},
|
||||
{
|
||||
innerHTML: `
|
||||
window.userInfoWin = {}
|
||||
STYLEID = "2";
|
||||
STATICURL = "static/";
|
||||
@ -37,12 +36,12 @@ export default defineNuxtConfig({
|
||||
REPORTURL = "aHR0cDovL2Jicy5ndGVyLm5ldC9mb3J1bS5waHA/dGlkPTI0MDYzNTYmZ290bz1sYXN0cG9zdA==";
|
||||
SITEURL = "https://ask.gter.net/";
|
||||
JSPATH = "static/js/";`,
|
||||
type: "text/javascript",
|
||||
charset: "utf-8",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
type: "text/javascript",
|
||||
charset: "utf-8",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
compatibilityDate: "2025-02-19",
|
||||
})
|
||||
compatibilityDate: "2025-02-19",
|
||||
})
|
||||
|
@ -11,19 +11,19 @@
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@element-plus/nuxt": "^1.0.7",
|
||||
"@nuxt/devtools": "latest",
|
||||
"element-plus": "^2.4.3",
|
||||
"element-plus": "^2.9.4",
|
||||
"less": "^4.2.0",
|
||||
"nuxt": "^3.8.2",
|
||||
"vue": "^3.3.10",
|
||||
"vue-router": "^4.2.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@element-plus/nuxt": "^1.1.1",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"axios": "^1.6.2",
|
||||
"dayjs": "latest",
|
||||
"masonry-layout": "^4.2.2",
|
||||
"qs": "^6.11.2"
|
||||
},
|
||||
"__npminstall_done": false
|
||||
}
|
||||
}
|
||||
|
@ -2050,7 +2050,7 @@ let permissions = ref([])
|
||||
onMounted(() => {
|
||||
setTimeout(() => {
|
||||
permissions.value = window["permissions"] || []
|
||||
permissions.value = ["mj.hide", "comment.edit", "comment.delete"]
|
||||
// permissions.value = ["mj.hide", "comment.edit", "comment.delete"]
|
||||
}, 1000)
|
||||
})
|
||||
|
||||
@ -2065,6 +2065,7 @@ const handleHide = () => {
|
||||
mjHideHttp({ token }).then(res => {
|
||||
dialogVisible.value = false
|
||||
ElMessage.success(res.message || "隐藏成功")
|
||||
router.replace("/index.html")
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
import axios from 'axios';
|
||||
import QS from 'qs';
|
||||
import { ElMessage } from "element-plus";
|
||||
|
||||
|
||||
axios.defaults.baseURL = 'https://interviewexperience.gter.net'
|
||||
@ -10,7 +9,7 @@ axios.defaults.withCredentials = true
|
||||
axios.interceptors.request.use( //响应拦截
|
||||
async config => {
|
||||
// 开发时登录用的,可以直接替换小程序的 authorization
|
||||
config['headers']['authorization'] = process.env.NODE_ENV !== "production" && "c1fb97e6994539d87922b1b60c09d43c"
|
||||
config['headers']['authorization'] = process.env.NODE_ENV !== "production" && "63ffbd4e4790accd31a0dafd21cd5f12"
|
||||
// config['headers']['authorization'] = "2lfrtq7h3ge634pl4ptlu2pbh2"
|
||||
return config;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user