lex-wxl 1 ماه پیش
والد
کامیت
28b4ac14ac
5فایلهای تغییر یافته به همراه11 افزوده شده و 2 حذف شده
  1. 1 1
      .env.development
  2. 4 0
      dist/index.html
  3. 0 0
      dist/js/952.8d90d98f.js
  4. 0 0
      dist/js/app.fa683e9c.js
  5. 6 1
      src/views/cloudPractice/cloudPractice.tsx

+ 1 - 1
.env.development

@@ -1,6 +1,6 @@
 # 开发环境  管乐团和管乐迷 接口需要跨域  所以代理了一下
 
-VUE_APP_URL = "https://dev.resource.colexiu.com/cbs-app"
+VUE_APP_URL = "https://test.resource.colexiu.com/cbs-app"
 VUE_APP_URL_GYM = "/gym"
 VUE_APP_URL_GYT = "/gyt"
 VUE_APP_URL_KLX = "/klx"

+ 4 - 0
dist/index.html

@@ -1,6 +1,10 @@
 <!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="renderer" content="webkit"/><meta name="force-rendering" content="webkit"/><link rel="icon" href="/favicon.ico"/><title>乐教通</title><script>if (!!window.ActiveXObject || "ActiveXObject" in window) {
             window.location.href = "./ieIncompatible/index.html"
+<<<<<<< HEAD
          }</script><script defer="defer" src="/js/chunk-vendors.1acf20d4.js"></script><script defer="defer" src="/js/app.77bfefcf.js"></script><link href="/css/app.4dfcdb65.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but classroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><style>.firstLoading {
+=======
+         }</script><script defer="defer" src="/js/chunk-vendors.a8b6f822.js"></script><script defer="defer" src="/js/app.fa683e9c.js"></script><link href="/css/app.4dfcdb65.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but classroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><style>.firstLoading {
+>>>>>>> main
                position: fixed;
                left: 50%;
                top: 50%;

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/js/952.8d90d98f.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/js/app.fa683e9c.js


+ 6 - 1
src/views/cloudPractice/cloudPractice.tsx

@@ -447,12 +447,17 @@ export default defineComponent({
 
                const userSubjectId = userStoreHook.userInfo.subjectId
                if (userSubjectId) {
-                  const tempSubjectId = userSubjectId.split(",")[0]
+                  const userSubjectIds = userSubjectId.split(",").map(item => Number(item))
+                  const tempSubjectId = userSubjectIds[0]
                   state.subjectList.forEach((item: any) => {
                      // 判断是否存在声部编号
                      if (item.value === Number(tempSubjectId)) {
                         state.subjectId = Number(tempSubjectId)
                      }
+
+                     if (!userSubjectIds.includes(item.value)) {
+                        item.disabled = true
+                     }
                   })
                }
             }

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است