zhengyiming
3 天以前 e75076815db5ab6870353d0760b962b671e7c56f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<template>
  <PageLayout class="editAddress-page-wrapper" :title="title" has-border>
    <InnerPage></InnerPage>
  </PageLayout>
</template>
 
<script setup lang="ts">
import InnerPage from './InnerPage.vue';
import Taro from '@tarojs/taro';
 
defineOptions({
  name: 'editAddress',
});
 
const router = Taro.useRouter();
const id = router.params?.id ?? '';
 
const title = computed(() => (id ? '编辑地址' : '新增地址'));
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
</style>