9
This commit is contained in:
@@ -129,10 +129,7 @@ define(['table', 'upload','form','qrcode'], function (Table,Upload,Form) {
|
||||
Table.api.bindevent(table);
|
||||
},
|
||||
update:function(){
|
||||
Config['upload_url'] = '/files/avatar';
|
||||
var form = $('form');
|
||||
Form.api.bindevent(form)
|
||||
this.getRole();
|
||||
this.insert();
|
||||
|
||||
$('#qrcode div').qrcode({
|
||||
width: 128,height: 128,
|
||||
@@ -144,6 +141,9 @@ define(['table', 'upload','form','qrcode'], function (Table,Upload,Form) {
|
||||
var form = $('form');
|
||||
Form.api.bindevent(form)
|
||||
this.getRole();
|
||||
$('[name=mobile]').on('change',function(){
|
||||
$('[name=username]').val($(this).val());
|
||||
});
|
||||
},
|
||||
getRole:function(){
|
||||
Fast.api.ajax({
|
||||
|
||||
Reference in New Issue
Block a user