liqk 4 年之前
父節點
當前提交
a5a0ff9b96

+ 2 - 2
TEAMModelOS/ClientApp/src/view/learnactivity/CreatePrivEva.vue

@@ -690,10 +690,10 @@ export default {
                         if(this.$store.state.user.userProfile){
                             let blobInfo = this.$store.state.user.userProfile
                             privateSas.sas = blobInfo.blob_sas
-                            privateSas.url = blobInfo.blob_uri.slice(0, blobInfo.lastIndexOf(this.$store.state.userInfo.TEAMModelId) - 1)
+                            privateSas.url = blobInfo.blob_uri.slice(0, blobInfo.blob_uri.lastIndexOf(this.$store.state.userInfo.TEAMModelId) - 1)
                             privateSas.name = this.$store.state.userInfo.TEAMModelId
                         }
-                        
+
                         let schoolSas = {}
                         if (this.$store.state.userInfo.hasSchool) {
                             schoolSas = {

+ 2 - 2
TEAMModelOS/ClientApp/src/view/learnactivity/CreateSchoolEva.vue

@@ -545,10 +545,10 @@ export default {
                         if(this.$store.state.user.userProfile){
                             let blobInfo = this.$store.state.user.userProfile
                             privateSas.sas = blobInfo.blob_sas
-                            privateSas.url = blobInfo.blob_uri.slice(0, blobInfo.lastIndexOf(this.$store.state.userInfo.TEAMModelId) - 1)
+                            privateSas.url = blobInfo.blob_uri.slice(0, blobInfo.blob_uri.lastIndexOf(this.$store.state.userInfo.TEAMModelId) - 1)
                             privateSas.name = this.$store.state.userInfo.TEAMModelId
                         }
-                        
+
                         let schoolSas = {
                             sas: '?' + this.$store.state.user.schoolProfile.blob_sas,
                             url: this.$store.state.user.schoolProfile.blob_uri.slice(0, this.$store.state.user.schoolProfile.blob_uri.lastIndexOf(this.$store.state.userInfo.schoolCode) - 1),