Vue
OD杨小凡
一个热爱健身和篮球的码农,好的身体才能码得更远。
展开
-
手动实现Vue的数据双向绑定v-model
所需构造函数:myVue和Watcher myVue中有 _init<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-原创 2018-11-30 09:31:04 · 1173 阅读 · 1 评论 -
element 框架 el-upload 上传文件问题
在使用Vue+element 中的el-upload组件做文件上传时,最根本的原因是把路径写错,导致系统提示跨域错误,直接看代码: <el-upload :action="targetAction" :show-file-list="false" :auto-upload="true" :before-upload="beforeAvatarUpload" :...原创 2018-12-25 11:19:04 · 13470 阅读 · 1 评论