wangxy 3 月之前
父节点
当前提交
455491ef42
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. 2 5
      pages/Login/index.vue

+ 2 - 5
pages/Login/index.vue

@@ -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>