kuaifan vor 5 Jahren
Ursprung
Commit
3829c3c3ba

+ 25 - 0
resources/assets/js/main/components/chat/Index.vue

@@ -195,6 +195,31 @@
             overflow: hidden;
             -webkit-box-orient: vertical;
         }
+        .chat-user {
+            .user-msg-title {
+                .user-view-inline {
+                    .user-view-name {
+                        max-width: 100%;
+                        white-space: nowrap;
+                        overflow: hidden;
+                        text-overflow: ellipsis;
+                    }
+                }
+            }
+        }
+        .chat-message {
+            .manage-title {
+                .user-view-inline {
+                    max-width: 70%;
+                    .user-view-name {
+                        max-width: 100%;
+                        white-space: nowrap;
+                        overflow: hidden;
+                        text-overflow: ellipsis;
+                    }
+                }
+            }
+        }
     }
 </style>
 <style lang="scss" scoped>

+ 6 - 0
resources/assets/js/main/pages/docs/edit.vue

@@ -529,6 +529,12 @@
                 this.refreshDetail();
             },
 
+            '$route' (To) {
+                if (To.name == 'docs-edit') {
+                    this.sid = To.params.sid;
+                }
+            },
+            
             docDrawerTab(act) {
                 switch (act) {
                     case "menu":

+ 3 - 1
resources/assets/js/main/pages/docs/view.vue

@@ -226,7 +226,9 @@
                 }
             },
             '$route' (To) {
-                this.sid = To.params.sid;
+                if (To.name == 'docs-view') {
+                    this.sid = To.params.sid;
+                }
             },
         },
         methods: {

+ 5 - 0
resources/assets/js/main/pages/project/panel.vue

@@ -652,6 +652,11 @@
                 this.projectLabel = [];
                 this.projectSimpleLabel = [];
                 this.getDetail();
+            },
+            '$route' (To) {
+                if (To.name == 'project-panel') {
+                    this.projectid = To.params.projectid;
+                }
             }
         },
         methods: {