42 lines
905 B
Vue
42 lines
905 B
Vue
<script>
|
|
/**
|
|
* 旧账单列表入口:保留原查询参数与 hash,重定向到 /finance?tab=bills;本页不维护第二份账单列表。
|
|
*/
|
|
definePageMeta({
|
|
redirect: {
|
|
redirect: (e) => ({
|
|
path: `/finance`,
|
|
query: {
|
|
...e.query,
|
|
tab: `bills`,
|
|
},
|
|
hash: e.hash,
|
|
}),
|
|
}.redirect,
|
|
});
|
|
import { createElementBlock } from "vue";
|
|
import { defineComponent } from "vue";
|
|
import { openBlock } from "vue";
|
|
import { t as composables_t } from "~/lib/composables-2.js";
|
|
var i = defineComponent({
|
|
__name: `index`,
|
|
setup(t) {
|
|
return (
|
|
composables_t({
|
|
redirect: (e) => ({
|
|
path: `/finance`,
|
|
query: {
|
|
...e.query,
|
|
tab: `bills`,
|
|
},
|
|
hash: e.hash,
|
|
}),
|
|
}),
|
|
(t, r) => (openBlock(), createElementBlock(`div`))
|
|
);
|
|
},
|
|
});
|
|
export {};
|
|
export default i;
|
|
</script>
|