需求是希望将input框中输入的内容通过axios发送给后端服务器,遇到的问题为发送出的数据为数组中的原始数据,并不会将input的内容发送出去。
先看下代码
<template>
<el-input v-model="form.input"> </el-input>
<el-button @click="sendfunc()" circle>send</el
需求是希望将input框中输入的内容通过axios发送给后端服务器,遇到的问题为发送出的数据为数组中的原始数据,并不会将input的内容发送出去。
先看下代码
<template>
<el-input v-model="form.input"> </el-input>
<el-button @click="sendfunc()" circle>send</el