进度条优化
This commit is contained in:
@@ -45,8 +45,7 @@ import {
|
||||
// 从ReviewPointsList组件中导入ReviewPoint类型
|
||||
import { type ReviewPoint } from '~/components/reviews';
|
||||
import { messageService } from "~/components/ui/MessageModal";
|
||||
import { Button } from "~/components/ui/Button";
|
||||
|
||||
import { loadingBarService } from "~/components/ui/LoadingBar";
|
||||
|
||||
/**
|
||||
* 文件信息组件
|
||||
@@ -248,6 +247,7 @@ export default function ReviewDetails() {
|
||||
|
||||
// loader 数据加载出错
|
||||
useEffect(()=>{
|
||||
loadingBarService.hide();
|
||||
if(Object.keys(loaderData).find(key => key === 'result') && !loaderData.result){
|
||||
messageService.show({
|
||||
title: '错误',
|
||||
|
||||
Reference in New Issue
Block a user