123456789101112131415161718192021222324252627282930 |
- <template>
- <view>
- <page ref="list" />
- <view style="height: 30px;" />
- </view>
- </template>
- <script>
- import page from "./modules/page.vue";
- export default {
- components: { page },
- data() {
- return {
- }
- },
- onLoad(options) {
- if (options.id) {
- this.id = options.id;
- setTimeout(() => {
- this.$refs.list.getDetail(options.id).then(detail => {
- this.detail = detail;
- })
- }, 100)
- }
- }
- }
- </script>
- <style></style>
|