调整路由名称
This commit is contained in:
parent
24fbf1a2b5
commit
57f00d6b5f
@ -500,7 +500,7 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
|
||||
},
|
||||
{
|
||||
path: '/attachment/add',
|
||||
name: 'addVideo',
|
||||
name: 'addAttachment',
|
||||
component: () => import('/@/views/attachment/component/upload.vue'),
|
||||
meta: {
|
||||
title: 'message.router.addVideo',
|
||||
@ -515,7 +515,7 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
|
||||
},
|
||||
{
|
||||
path: '/attachment/edit',
|
||||
name: 'editVideo',
|
||||
name: 'editAttachment',
|
||||
component: () => import('/@/views/attachment/component/upload.vue'),
|
||||
meta: {
|
||||
title: 'message.router.editVideo',
|
||||
|
@ -97,7 +97,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="articleDetail">
|
||||
<script setup lang="ts" name="editArticle">
|
||||
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
||||
import { articleApi } from '/@/api/article';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
|
@ -67,7 +67,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="articleIndex">
|
||||
<script setup lang="ts" name="article">
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { articleApi } from '/@/api/article';
|
||||
import { ElMessage, ElMessageBox, TableColumnCtx } from 'element-plus';
|
||||
|
@ -71,7 +71,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="attachmentIndex">
|
||||
<script setup lang="ts" name="attachment">
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { articleApi } from '/@/api/article';
|
||||
import { attachmentApi } from '/@/api/attachment';
|
||||
|
@ -125,7 +125,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="articleIndex">
|
||||
<script setup lang="ts" name="carousel">
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { ElDrawer, ElMessage, ElMessageBox, TableColumnCtx } from 'element-plus';
|
||||
|
@ -118,7 +118,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="articleIndex">
|
||||
<script setup lang="ts" name="clients">
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { ElDrawer, ElMessage, ElMessageBox, TableColumnCtx } from 'element-plus';
|
||||
|
@ -54,7 +54,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="labelIndex">
|
||||
<script setup lang="ts" name="label">
|
||||
import { defineAsyncComponent,onMounted, reactive, ref } from 'vue';
|
||||
import { labelApi } from '/@/api/label';
|
||||
import { ElMessage, ElMessageBox, TableColumnCtx } from 'element-plus';
|
||||
|
@ -27,14 +27,13 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="logIndex">
|
||||
<script setup lang="ts" name="log">
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { logApi } from '/@/api/log';
|
||||
import { ElMessage, ElMessageBox, TableColumnCtx } from 'element-plus';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
// 表格数据
|
||||
const state = reactive({
|
||||
tableData: {
|
||||
|
@ -49,7 +49,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="messageIndex">
|
||||
<script setup lang="ts" name="message">
|
||||
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
||||
import { messageApi } from '/@/api/message';
|
||||
import { ElMessage, TableColumnCtx } from 'element-plus';
|
||||
|
@ -44,7 +44,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="messagePushIndex">
|
||||
<script setup lang="ts" name="messagePush">
|
||||
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
||||
import { messagePushApi } from '/@/api/messagePush';
|
||||
import { ElMessage, TableColumnCtx } from 'element-plus';
|
||||
|
@ -31,7 +31,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="orderIndex">
|
||||
<script setup lang="ts" name="order">
|
||||
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
||||
import { orderApi } from '/@/api/order';
|
||||
import { ElMessage, TableColumnCtx } from 'element-plus';
|
||||
|
@ -156,7 +156,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="articleIndex">
|
||||
<script setup lang="ts" name="photos">
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { ElDrawer, ElMessage, ElMessageBox, TableColumnCtx, timePickerDefaultProps } from 'element-plus';
|
||||
|
@ -85,7 +85,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="videoDetail">
|
||||
<script setup lang="ts" name="editVideo">
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { articleApi } from '/@/api/article';
|
||||
import { videoApi } from '/@/api/video';
|
||||
|
@ -68,7 +68,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="videoIndex">
|
||||
<script setup lang="ts" name="video">
|
||||
import { onMounted, reactive, ref } from 'vue';
|
||||
import { articleApi } from '/@/api/article';
|
||||
import { videoApi } from '/@/api/video';
|
||||
|
Loading…
Reference in New Issue
Block a user