element中上传图片,上传地址文件夹,怎么写,在前后台控制上传图片地址?

<el-form class="from-1" ref="form" :model="form" :rules="rules" label-width="80px" style=" width:100%; height: 380px;">

      <el-form class="from_n1" style="width:940px; margin:auto;">
        <div id="wen" >法人身份证(格式为:jpg,png,jpeg,大小不得超过30M)</div>
       <el-form-item label="身份证正面:" prop="idzhengpic" class="dt1" style=" float:left; width:47%; margin:0px 1% 0px 2%;" >
        <el-upload class="avatar-uploader"  action="" :show-file-list="false" :on-success="handleAvatarSuccess" :before-upload="beforeAvatarUpload" >
          <img v-if="idzhengpic" :src="idzhengpic" class="avatar" >
          <i v-else class="el-icon-plus avatar-uploader-icon"></i>
        </el-upload>
      </el-form-item>
阅读 2.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题