liushengqiang преди 1 година
родител
ревизия
7a0b62469d
променени са 2 файла, в които са добавени 7 реда и са изтрити 6 реда
  1. 1 1
      src/pc/home/index.module.less
  2. 6 5
      src/pc/home/index.tsx

+ 1 - 1
src/pc/home/index.module.less

@@ -153,7 +153,7 @@
     .box {
         position: relative;
         flex: 1;
-        height: 100%;
+        min-height: 100%;
         overflow: auto;
         padding: 20px;
         padding-bottom: 180px;

+ 6 - 5
src/pc/home/index.tsx

@@ -2373,12 +2373,13 @@ export default defineComponent({
 							{/* <textarea ref={textAreaRef} class={styles.value} id="abc"></textarea> */}
 							<div id="importRef" style={{ display: "none" }}></div>
 							<div id="audio" style={{ display: "none" }}></div>
-							{data.loadingAudioSrouce && (
-								<div class={styles.loading}>
-									<NSpin></NSpin>
-								</div>
-							)}
 						</div>
+
+						{data.loadingAudioSrouce && (
+							<div class={styles.loading}>
+								<NSpin description="资源加载中..."></NSpin>
+							</div>
+						)}
 					</div>
 					<div ref={downRef}></div>