@@ -42,15 +42,12 @@ function setPinia() {
}
function handleLogin() {
- httpApi.getConfig().then(res => {
- console.log('res',res.data)
- })
- /* httpApi.login({
+ httpApi.login({
userName: 'root1',
password: 'root'
}).then(res => {
console.log('res', res.data)
- }) */
+ })
</script>