This commit is contained in:
commie
2026-02-15 19:41:56 +08:00
parent 61c5192018
commit 1a7f4bc98a
68 changed files with 992 additions and 353 deletions
+4 -4
View File
@@ -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({