mo 1 年之前
父節點
當前提交
5b38936d18

+ 1 - 1
src/views/classList/index.tsx

@@ -124,7 +124,7 @@ export default defineComponent({
           key: 'lastStudy',
           width:'25%',
           render(row: any) {
-            return <TheTooltip maxWidth={300} showContentWidth={300} content={row.lastStudy ? row.lastStudy : '--'} />;
+            return  row.lastStudy? <TheTooltip maxWidth={300} showContentWidth={300} content={row.lastStudy} />: '--'
           }
         },
         {

+ 1 - 0
src/views/classList/modals/createClass.tsx

@@ -52,6 +52,7 @@ export default defineComponent({
           emit('getList');
           data.uploading = false
         } catch (e) {
+          data.uploading = false
           console.log(e);
         }
       });

+ 1 - 1
src/views/login/components/codeLogin.tsx

@@ -53,7 +53,7 @@ export default defineComponent({
           const { username, password } = formInline;
           message.loading('登录中...');
           loading.value = true;
-
+          storage.set('userInfo-teacher', JSON.stringify({username}));
           const params: FormState = {
             username,
             password,