fix: 修正颜色不统一 (#338)

* fix: 修正颜色不统一
This commit is contained in:
nil 2024-07-16 15:23:33 +08:00 committed by GitHub
parent 212a3329ad
commit bb331af9eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

View File

@ -42,6 +42,7 @@
"@types/lodash-es": "^4.17.12", "@types/lodash-es": "^4.17.12",
"@types/node": "^20.11.19", "@types/node": "^20.11.19",
"@types/qrcode": "^1.5.5", "@types/qrcode": "^1.5.5",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-vue": "^5.0.3", "@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue-jsx": "^3.1.0", "@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/eslint-config-prettier": "^8.0.0", "@vue/eslint-config-prettier": "^8.0.0",

View File

@ -68,7 +68,7 @@ const checkAuth = () => {
} }
}).catch((error) => { }).catch((error) => {
console.log("erro:" + error) console.log("erro:" + error)
ElMessage.error(err) ElMessage.error(error)
}); });
} }
onMounted(async () => { onMounted(async () => {

View File

@ -2,7 +2,6 @@
<el-switch <el-switch
v-model="modelValue" v-model="modelValue"
class="ml-2" class="ml-2"
style="--el-switch-on-color: #13ce66; --el-switch-off-color: #ff4949"
active-text="是" active-text="是"
inactive-text="否" inactive-text="否"
@change="handleInputChange" @change="handleInputChange"