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