Michael Wang пре 3 година
родитељ
комит
b39f787728

+ 2 - 1
src/features/arbitrate/Arbitrate.vue

@@ -115,7 +115,7 @@ async function updateStatus() {
 }
 async function updateTask() {
   // const mkey = "fetch_task_key";
-  message.info({ content: "获取任务中...", duration: 2 });
+  message.info({ content: "获取任务中...", duration: 1.5 });
   let res;
   if (isSingleStudent) {
     res = await getSingleStuTask();
@@ -264,5 +264,6 @@ const renderError = () => {
 <style scoped>
 .my-container {
   width: 100%;
+  overflow: clip;
 }
 </style>

+ 2 - 1
src/features/library/inspect/LibraryInspect.vue

@@ -74,7 +74,7 @@ async function updateStatus() {
 }
 async function updateTask() {
   // const mkey = "fetch_task_key";
-  message.info({ content: "获取任务中...", duration: 2 });
+  message.info({ content: "获取任务中...", duration: 1.5 });
   let res;
   // if (isSingleStudent) {
   //   res = await getSingleStuTask();
@@ -195,5 +195,6 @@ const renderError = () => {
 <style scoped>
 .my-container {
   width: 100%;
+  overflow: clip;
 }
 </style>

+ 2 - 1
src/features/library/libraryTrack/LibraryTrack.vue

@@ -46,7 +46,7 @@ async function updateSetting() {
 
 async function updateTask() {
   // const mkey = "fetch_task_key";
-  message.info({ content: "获取任务中...", duration: 2 });
+  message.info({ content: "获取任务中...", duration: 1.5 });
   let res = await getSingleStuTask();
   // message.success({ content: "获取成功", key: mkey });
 
@@ -96,5 +96,6 @@ const renderError = () => {
 <style scoped>
 .my-container {
   width: 100%;
+  overflow: clip;
 }
 </style>

+ 2 - 1
src/features/student/importInspect/ImportInspect.vue

@@ -61,7 +61,7 @@ async function updateSetting() {
 // 要通过fetchTask调用
 async function updateTask() {
   // const mkey = "fetch_task_key";
-  message.info({ content: "获取任务中...", duration: 2 });
+  message.info({ content: "获取任务中...", duration: 1.5 });
   let res;
   if (currentStudentId.value) {
     res = await getSingleInspectedTask("" + currentStudentId.value);
@@ -156,5 +156,6 @@ const renderError = () => {
 <style scoped>
 .my-container {
   width: 100%;
+  overflow: clip;
 }
 </style>

+ 2 - 1
src/features/student/inspect/Inspect.vue

@@ -101,7 +101,7 @@ async function updateStatus() {
 }
 async function updateTask() {
   // const mkey = "fetch_task_key";
-  message.info({ content: "获取任务中...", duration: 2 });
+  message.info({ content: "获取任务中...", duration: 1.5 });
   let res;
   if (isSingleStudent) {
     res = await getSingleStuTask();
@@ -228,5 +228,6 @@ const renderError = () => {
 <style scoped>
 .my-container {
   width: 100%;
+  overflow: clip;
 }
 </style>

+ 1 - 1
src/features/student/studentTrack/StudentTrack.vue

@@ -51,7 +51,7 @@ async function updateSetting() {
 
 async function updateTask() {
   // const mkey = "fetch_task_key";
-  message.info({ content: "获取任务中...", duration: 2 });
+  message.info({ content: "获取任务中...", duration: 1.5 });
   let res = await getSingleStuTask();
   // message.success({ content: "获取成功", key: mkey });