1
2 pageEncoding="UTF-8"%>
3
4
5
6
7
个人资料8
9 rel="stylesheet" />
10
11 charset="utf-8">
12
13
14 layui.use('upload',function(){15 varupload=layui.upload;16 upload.render({17 elem:'#fileBtn'
18 ,url:'../updatePersonalById.do'
19 ,accept:'file'
20 ,auto:false
21 ,bindAction:'#uploadBtn'
22 ,done:function(res){23 alert(res.data.src);24 $("[name=userImage]").val(res.data.src);25 }26 });27 });28
29
30
31
32
33
34 编号
35
36
37