钱包修改
This commit is contained in:
@@ -274,7 +274,7 @@ export default defineComponent({
|
||||
} else {
|
||||
if (toRaw(accountinfo.value).accountid) {
|
||||
console.log(300);
|
||||
editaccount(toRaw(accountinfo.value).accountid);
|
||||
editaccount(toRaw(accountinfo.value).accountid, accountinfo.value);
|
||||
} else {
|
||||
console.log(111);
|
||||
accountadd(toRaw(accountinfo.value));
|
||||
@@ -286,7 +286,7 @@ export default defineComponent({
|
||||
} else {
|
||||
if (toRaw(accountinfo.value).accountid) {
|
||||
console.log(300);
|
||||
editaccount(toRaw(accountinfo.value).accountid);
|
||||
editaccount(toRaw(accountinfo.value).accountid, accountinfo.value);
|
||||
} else {
|
||||
console.log(111);
|
||||
accountadd(toRaw(accountinfo.value));
|
||||
@@ -295,7 +295,7 @@ export default defineComponent({
|
||||
} else if (accountinfofin.type == 1) {
|
||||
if (toRaw(accountinfo.value).accountid) {
|
||||
console.log(300);
|
||||
editaccount(toRaw(accountinfo.value).accountid);
|
||||
editaccount(toRaw(accountinfo.value).accountid, accountinfo.value);
|
||||
} else {
|
||||
console.log(111);
|
||||
accountadd(toRaw(accountinfo.value));
|
||||
@@ -313,7 +313,8 @@ export default defineComponent({
|
||||
message.error(lan.$t("kaihuhangweikong"));
|
||||
} else {
|
||||
if (toRaw(accountinfo.value).accountid) {
|
||||
editaccount(toRaw(accountinfo.value).accountid);
|
||||
editaccount(toRaw(accountinfo.value).accountid, accountinfo.value);
|
||||
|
||||
} else {
|
||||
accountadd(toRaw(accountinfo.value));
|
||||
}
|
||||
@@ -325,7 +326,7 @@ export default defineComponent({
|
||||
} else {
|
||||
if (toRaw(accountinfo.value).accountid) {
|
||||
console.log(300);
|
||||
editaccount(toRaw(accountinfo.value).accountid);
|
||||
editaccount(toRaw(accountinfo.value).accountid, accountinfo.value);
|
||||
} else {
|
||||
console.log(111);
|
||||
accountadd(toRaw(accountinfo.value));
|
||||
|
||||
@@ -234,7 +234,7 @@ export default defineComponent({
|
||||
const state=ref<number>(0)
|
||||
const dates=ref<Array<string>>(["",""])
|
||||
const page = ref(1);
|
||||
const visible = ref(true);
|
||||
const visible = ref(false);
|
||||
onMounted(async () => {
|
||||
console.log(useRoute().query)
|
||||
listindex.value=1
|
||||
|
||||
Reference in New Issue
Block a user