We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
userApi.js //获取用户信息
var params = req.query; //原文是var params = req.body; // Nodejs取参
sql_name += " where username ='"+ params.name +"'"; //原文第一个双引号后少个空格
UserCenter.vue //methods
getUserData() { let username = sessionStorage.getItem('ms_username'); //原文是localStorage
self.$http.get('/api/user/getUser',{params:{"name":username}}).then(function(response) { // get('',{params:JSON字符串})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
userApi.js
//获取用户信息
var params = req.query;
//原文是var params = req.body;
// Nodejs取参
sql_name += " where username ='"+ params.name +"'";
//原文第一个双引号后少个空格
UserCenter.vue
//methods
getUserData() {
let username = sessionStorage.getItem('ms_username');
//原文是localStorage
self.$http.get('/api/user/getUser',{params:{"name":username}}).then(function(response) {
// get('',{params:JSON字符串})
The text was updated successfully, but these errors were encountered: