| 插件名稱 | API接口 V7.8 |
| 插件作者 | 迅睿官方自營 |
| 最近更新 | 2025-09-04 19:21:54 |
| 支持對達(dá)夢數(shù)據(jù)庫的驅(qū)動(dòng) |
this.$refs.loginFormRef.validate(async (valid) => {
if (!valid) return
const { data: res } = await this.$http.post(
'/index.php?v=1&appid=1&appsecret=YD26F9E3E7EC474&s=member&c=login&m=index',
this.loginForm,
{ headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }
)
})loginForm: {
username: '',
password: '',
is_ajax: '1'
}
上面是我的登錄接口請求,我怎么實(shí)現(xiàn)官方的請求,
is_ajax=1&data[username]=admin&data[password]=admin
我怎么也弄不成官方的data[username]=admin
我的請求是這樣的

請問怎么改進(jìn)呢
this.qs.stringify(this.loginForm)
問題已解決