支持配置后台页面入口
This commit is contained in:
@@ -5,6 +5,7 @@ import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { computed, nextTick, onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue'
|
||||
|
||||
import { fetchAdminFileBlob } from '@/shared/api/files'
|
||||
import { adminPath } from '@/shared/utils/adminPath'
|
||||
import { centToYuan, formatCent, formatMoneyWithSymbol, yuanToCent } from '@/shared/utils/money'
|
||||
import {
|
||||
adjustListingReviewPrice,
|
||||
@@ -667,7 +668,7 @@ async function openScreenshot(url: string) {
|
||||
<h2>{{ selectedListing.title }}</h2>
|
||||
</div>
|
||||
<div class="hero-actions">
|
||||
<RouterLink :to="`/admin/listings/${selectedListing.id}`">
|
||||
<RouterLink :to="adminPath(`listings/${selectedListing.id}`)">
|
||||
<el-button>详情页</el-button>
|
||||
</RouterLink>
|
||||
<el-button
|
||||
|
||||
Reference in New Issue
Block a user