| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <template>
- <div>
- <breadcrumb :locations="locations"></breadcrumb>
- <editor-aside></editor-aside>
- <editor></editor>
- </div>
- </template>
- <script>
- import { mapState } from 'vuex'
- import breadcrumb from '@/components/breadcrumb'
- import editorAside from '@/components/topics/editor-aside'
- import editor from '@/components/topics/editor'
- // import getDeviceType from '@/mixins/getDeviceType'
- import qs from 'qs';
- export default {
- props: ['locations'],
- head: {
- title: '发布文章-技术圈',
- },
- components: {
- breadcrumb,
- editor,
- editorAside,
- },
- // mixins: [getDeviceType],
- data() {
- return {
- }
- },
- mounted() {
- // this.getList()
- },
- methods: {
- async getList() {
- let extraHeaders = {};
- if (this.deviceType === 'ios') {
- extraHeaders = this.getSign();
- }
- let res = await this.$axios.$post(`/api/vip/getList`, extraHeaders)
- if (res) {
- this.vipList = res.data
- }
- }
- }
- }
- </script>
- <style>
- </style>
|