页面切换修复

This commit is contained in:
Leo_Ding 2025-07-01 14:10:42 +08:00
parent a880d98f88
commit a1655462b5
29 changed files with 28 additions and 32 deletions

View File

@ -106,9 +106,6 @@ const handlePreview = async (file) => {
// handleChange
const handleChange = ({ file, fileList: updatedList }) => {
console.log(111)
console.log(file.status)
console.log(updatedList)
//
if (file.status === 'done') {
const response = file.response;

View File

@ -37,7 +37,7 @@ export default {
about:'关于海邻',
researchHonor:'科研成果',
corporateHonor:'企业荣誉',
talentCenter:'人才中心',
talentCenter:'办公环境',
teamStyle:'团队风采',
Dynamic:'海邻动态',
companyNews:'公司动态',

View File

@ -73,10 +73,7 @@ export function formatRoutes(routes = [], parent = {}) {
const modules = import.meta.glob('../views/**/*.vue')
return routes
.map((item) => {
console.log(111)
const localRoute = find(toList(localRoutes), { name: item.name })
console.log(222,localRoute)
if (!localRoute) return
const component = localRoute?.component || 'exception/404'
const isLink = localRoute?.meta?.type === 'link'

View File

@ -129,7 +129,7 @@ async function getPageList() {
const { success, data, total } = await apis.dynamic
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -129,7 +129,7 @@ async function getPageList() {
const { success, data, total } = await apis.dynamic
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -170,7 +170,7 @@ async function getPageList() {
const { success, data, total } = await apis.videoCenter
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -119,7 +119,7 @@ async function getPageList() {
const { success, data, total } = await apis.imgmgt
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -119,7 +119,7 @@ async function getPageList() {
const { success, data, total } = await apis.imgmgt
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -120,7 +120,7 @@ async function getPageList() {
const { success, data, total } = await apis.imgmgt
.getDataList({
pageSize,
page: current,
current:current,
type:120,
...searchFormData.value,
})

View File

@ -119,7 +119,7 @@ async function getPageList() {
const { success, data, total } = await apis.imgmgt
.getDataList({
pageSize,
page: current,
current:current,
type:110,
...searchFormData.value,
})

View File

@ -119,7 +119,7 @@ async function getPageList() {
const { success, data, total } = await apis.imgmgt
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -119,7 +119,7 @@ async function getPageList() {
const { success, data, total } = await apis.imgmgt
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -119,7 +119,7 @@ async function getPageList() {
const { success, data, total } = await apis.importantEvents
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -143,7 +143,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
page: current,
current:current,
})
.catch(() => {
throw new Error()

View File

@ -115,7 +115,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
page: current,
current:current,
})
.catch(() => {
throw new Error()

View File

@ -147,7 +147,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
page: current,
current:current,
})
.catch(() => {
throw new Error()

View File

@ -154,7 +154,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
page: current,
current:current,
})
.catch(() => {
throw new Error()

View File

@ -131,7 +131,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
page: current,
current:current,
})
.catch(() => {
throw new Error()

View File

@ -194,7 +194,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
page: current,
current:current,
})
.catch(() => {
throw new Error()

View File

@ -239,6 +239,8 @@ async function handleEdit(record = {}) {
formData.value = {
...data,
categoryIDs:data.categoryID,
categoryID:data.categoryID,
categoryRootID:data.categoryRootID,
standard: data.standard || [{
label: '',
val: '',

View File

@ -168,7 +168,7 @@ async function getPageList() {
const { success, data, total } = await apis.products
.getProductsList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -72,7 +72,7 @@ async function getPageList() {
const { success, data, total } = await apis.categorys
.getDataList({
pageSize,
page: current,
current:current,
})
.catch(() => {
throw new Error()

View File

@ -122,7 +122,7 @@ async function getPageList() {
const { success, data, total } = await apis.recruitment
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -107,7 +107,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
page: current,
current:current,
})
.catch(() => {
throw new Error()

View File

@ -162,7 +162,7 @@ async function getPageList() {
const { success, data, total } = await apis.system
.getLoggers({
pageSize,
page: current,
current:current,
...searchFormData.value,
startTime: startTime.value,
endTime: endTime.value,

View File

@ -158,7 +158,7 @@ async function getPageList() {
const { success, data, total } = await apis.role
.getRoleList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -153,7 +153,7 @@ async function getPageList() {
const { success, data, total } = await apis.users
.getUsersList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -133,7 +133,7 @@ async function getPageList() {
const { success, data, total } = await apis.team
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {

View File

@ -125,7 +125,7 @@ async function getPageList() {
const { success, data, total } = await apis.imgmgt
.getDataList({
pageSize,
page: current,
current:current,
...searchFormData.value,
})
.catch(() => {