fix
This commit is contained in:
8
package-lock.json
generated
8
package-lock.json
generated
@@ -20,7 +20,7 @@
|
||||
"copy-text-to-clipboard": "^3.2.0",
|
||||
"date-fns": "^2.30.0",
|
||||
"highlight.js": "^11.10.0",
|
||||
"naive-ui": "2.38.2",
|
||||
"naive-ui": "^2.39.0",
|
||||
"normalize.css": "^8.0.1",
|
||||
"pinia": "^2.2.2",
|
||||
"vue": "^3.5.3",
|
||||
@@ -5169,9 +5169,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/naive-ui": {
|
||||
"version": "2.38.2",
|
||||
"resolved": "https://registry.npmmirror.com/naive-ui/-/naive-ui-2.38.2.tgz",
|
||||
"integrity": "sha512-WhZ+6DW61aYSmFyfH7evcSGFmd2xR68Yq1mNRrVdJwBhZsnNdAUsMN9IeNCVEPMCND/jzYZghkStoNoR5Xa09g==",
|
||||
"version": "2.39.0",
|
||||
"resolved": "https://registry.npmmirror.com/naive-ui/-/naive-ui-2.39.0.tgz",
|
||||
"integrity": "sha512-5oUJzRG+rtLSH8eRU+fJvVYiQids2BxF9jp+fwGoAqHOptEINrBlgBu9uy+95RHE5FLJ7Q/z41o+qkoGnUrKxQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@css-render/plugin-bem": "^0.15.12",
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"copy-text-to-clipboard": "^3.2.0",
|
||||
"date-fns": "^2.30.0",
|
||||
"highlight.js": "^11.10.0",
|
||||
"naive-ui": "2.38.2",
|
||||
"naive-ui": "^2.39.0",
|
||||
"normalize.css": "^8.0.1",
|
||||
"pinia": "^2.2.2",
|
||||
"vue": "^3.5.3",
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
|
||||
export const useContestStore = defineStore("contest", () => {
|
||||
const userStore = useUserStore()
|
||||
const message = useMessage()
|
||||
// const message = useMessage()
|
||||
const [access, toggleAccess] = useToggle(false)
|
||||
const contest = ref<Contest | null>(null)
|
||||
const problems = ref<Problem[]>([])
|
||||
@@ -89,7 +89,7 @@ export const useContestStore = defineStore("contest", () => {
|
||||
}
|
||||
} catch (err) {
|
||||
toggleAccess(false)
|
||||
message.error("密码错误")
|
||||
// message.error("密码错误")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user