update
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
data () {
|
||||
return {
|
||||
dataForm: {
|
||||
mobile: '',
|
||||
password: ''
|
||||
mobile: '13588441519',
|
||||
password: '123abc.'
|
||||
},
|
||||
dataRule: {
|
||||
mobile: [
|
||||
@@ -52,7 +52,7 @@
|
||||
this.$refs['dataForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.$http({
|
||||
url: this.$http.adornUrl('passport/login'),
|
||||
url: this.$http.adornUrl('/passport/login'),
|
||||
method: 'post',
|
||||
data: this.$http.adornData({
|
||||
'mobile': this.dataForm.mobile,
|
||||
|
||||
Reference in New Issue
Block a user