解决不加载默认账户的bug
This commit is contained in:
@@ -455,8 +455,8 @@
|
|||||||
options += "<option value='many' class='many' data-manyAmount=''>多账户</option>";
|
options += "<option value='many' class='many' data-manyAmount=''>多账户</option>";
|
||||||
for(var i = 0 ;i < accountList.length;i++) {
|
for(var i = 0 ;i < accountList.length;i++) {
|
||||||
var account = accountList[i];
|
var account = accountList[i];
|
||||||
options += '<option value="' + account.id + '" data-currentAmount="' + account.currentAmount + '">' + account.name + '</option>';
|
options += '<option value="' + account.id + '" data-currentAmount="' + account.currentamount + '">' + account.name + '</option>';
|
||||||
if(account.isDefault) {
|
if(account.isdefault) {
|
||||||
defaultAccountId = account.id; //给账户赋值默认id
|
defaultAccountId = account.id; //给账户赋值默认id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user