组件导入修改

This commit is contained in:
linfeng 2023-04-27 09:49:53 +08:00
parent 73a73553a7
commit f13ed1eb05
6 changed files with 8 additions and 8 deletions

View File

@ -18,8 +18,8 @@
</template>
<script>
import postList from '../../components/post-list/post-list.vue';
import addPostTag from '../../components/add-post-tag/add-post-tag.vue';
import postList from '@/components/post-list/post-list.vue';
import addPostTag from '@/components/add-post-tag/add-post-tag.vue';
export default {
components: {
postList,

View File

@ -5,7 +5,7 @@
</template>
<script>
import postList from '../../components/post-list/post-list.vue';
import postList from '@/components/post-list/post-list.vue';
export default {
components: {
postList

View File

@ -5,7 +5,7 @@
</template>
<script>
import userList from '../../components/user-list/user-list.vue';
import userList from '@/components/user-list/user-list.vue';
export default {
components: {
userList

View File

@ -53,7 +53,7 @@
</template>
<script>
import addPostTag from '../../components/add-post-tag/add-post-tag.vue'
import addPostTag from '@/components/add-post-tag/add-post-tag.vue'
export default {
data() {
return {

View File

@ -47,8 +47,8 @@
</template>
<script>
import postList from '../../components/post-list/post-list.vue';
import addPostTag from '../../components/add-post-tag/add-post-tag.vue';
import postList from '@/components/post-list/post-list.vue';
import addPostTag from '@/components/add-post-tag/add-post-tag.vue';
export default {
components: {
postList

View File

@ -80,7 +80,7 @@
</template>
<script>
import addPostTag from '../../components/add-post-tag/add-post-tag.vue';
import addPostTag from '@/components/add-post-tag/add-post-tag.vue';
export default {
components: {
addPostTag