12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <template>
- <div id="index">
- <admin-frame @search="search" :limit="limit" :total="total" :useNav="false">
- <template v-slot:info> 专利导航</template>
- </admin-frame>
- </div>
- </template>
- <script>
- import adminFrame from '@frame/src/components/mobile-frame/mobile-main.vue';
- import { mapState, createNamespacedHelpers } from 'vuex';
- export default {
- name: 'index',
- props: {},
- components: {
- adminFrame,
- },
- data: function () {
- return {
- limit: 5,
- total: 0,
- };
- },
- async created() {
- await this.search();
- },
- methods: {
- async search({ skip = 0, limit = 10, ...info } = {}) {},
- },
- computed: {
- ...mapState(['user']),
- },
- metaInfo() {
- return { title: this.$route.meta.title };
- },
- watch: {
- test: {
- deep: true,
- immediate: true,
- handler(val) {},
- },
- },
- };
- </script>
- <style lang="less" scoped></style>
|