Commit 76497814 authored by 周远喜's avatar 周远喜

okok

parent 5f32a654
This image diff could not be displayed because it is too large. You can view the blob instead.
......@@ -145,7 +145,7 @@ export default {
background-image: url("../../../assets/images/login/bg0.png");
}
.bg1 {
background-image: url("../../../assets/images/login/bg1.png");
background-image: url("../../../assets/images/login/bg1.jpg");
}
.bg2 {
background-image: url("../../../assets/images/login/bg2.jpg");
......
<template>
<div>
<h1>这是一个测试页面</h1>
<Button @click="login">Login</Button>
</div>
</template>
<script>
import api from "axios"
export default {
}
layout: "empty",
methods: {
login() {
api
.post("http://localhost:10010/connect/token", {
client_id: "api_client",
client_secret: "secret",
grant_type: "client_credentials",
username: "13211111111",
password: "1"
})
.then(r => {
console.warn(r);
})
.catch(e => {
console.info(e);
});
}
}
};
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment