diff --git a/src/pages-sub/asset-detail/index.vue b/src/pages-sub/asset-detail/index.vue new file mode 100644 index 0000000..dc88dfb --- /dev/null +++ b/src/pages-sub/asset-detail/index.vue @@ -0,0 +1,79 @@ + +{ + style: { + navigationBarTitleText: '资金明细', + navigationBarBackgroundColor: '#fff', + navigationStyle: 'custom', + }, +} + + + + + + + diff --git a/src/pages-sub/asset/index.vue b/src/pages-sub/asset/index.vue index 62499d5..1b5d5a4 100644 --- a/src/pages-sub/asset/index.vue +++ b/src/pages-sub/asset/index.vue @@ -37,18 +37,10 @@ const { list: assetList, onReload } = useListPageRequest( onLoad((options) => { tabIndex.value = Number(options.tabIndex ?? 0) + onReload({ + flagdata: unref(tabList)[tabIndex.value].value, + }) }) -watch( - () => tabIndex.value, - (index) => { - onReload({ - type: unref(tabList)[index].value, - }) - }, - { - immediate: true, - }, -)