|
|
@@ -77,8 +77,8 @@ const router = useRouter()
|
|
|
const { proxy } = getCurrentInstance()
|
|
|
|
|
|
const loginForm = ref({
|
|
|
- username: "admin",
|
|
|
- password: "admin123",
|
|
|
+ username: "",
|
|
|
+ password: "",
|
|
|
rememberMe: false,
|
|
|
code: "",
|
|
|
uuid: ""
|
|
|
@@ -161,6 +161,11 @@ function getCookie() {
|
|
|
|
|
|
getCode()
|
|
|
getCookie()
|
|
|
+
|
|
|
+if (import.meta.env.DEV) {
|
|
|
+ loginForm.value.username = "admin"
|
|
|
+ loginForm.value.password = "admin123"
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style lang='scss' scoped>
|