浏览代码

feat: 修复路由跳转

yanglzh 1 年之前
父节点
当前提交
8ad8a4d108
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/system/datahub/modeling/index.vue
  2. 1 1
      src/views/system/datahub/source/index.vue

+ 1 - 1
src/views/system/datahub/modeling/index.vue

@@ -58,7 +58,7 @@
 
 				<el-table-column label="操作" width="280" align="center" fixed="right">
 					<template #default="scope">
-						<router-link :to="'/config/datahub/modeling/' + scope.row.id" class="link-type" style="padding-right: 12px; font-size: 12px; color: #409eff" v-auth="'detail'">
+						<router-link :to="'/datahub/modeling/' + scope.row.id" class="link-type" style="padding-right: 12px; font-size: 12px; color: #409eff" v-auth="'detail'">
 							<span>字段管理</span>
 						</router-link>
 						<el-button size="small" text type="success" @click="onOpenRecord(scope.row)" v-if="scope.row.status == 1" v-auth="'record'">数据记录</el-button>

+ 1 - 1
src/views/system/datahub/source/index.vue

@@ -63,7 +63,7 @@
 
 				<el-table-column label="操作" width="200" align="center" fixed="right">
 					<template #default="scope">
-						<router-link :to="'/config/datahub/source/' + scope.row.sourceId" class="link-type" style="padding-right: 12px; font-size: 12px; color: #409eff" v-auth="'detail'">
+						<router-link :to="'/datahub/source/' + scope.row.sourceId" class="link-type" style="padding-right: 12px; font-size: 12px; color: #409eff" v-auth="'detail'">
 							<span>详情</span>
 						</router-link>
 						<el-button size="small" text type="success" @click="onOpenList(scope.row)" v-if="scope.row.status == 1" v-auth="'detail'">数据记录</el-button>