Explorar o código

table表格,添加样式文件base.css,调整tooltip宽度

yuanyiming hai 1 ano
pai
achega
d8f1b97e45

+ 3 - 0
src/assets/css/base.css

@@ -0,0 +1,3 @@
+.el-tooltip__popper{ 
+    max-width:50%;
+} 

+ 4 - 1
src/components/pages/kindStudentEva/test/diary.vue

@@ -221,6 +221,8 @@
 
 <script>
 import popbox from "./component/popbox";
+import "@/assets/css/base.css";
+
 export default {
   components: {
     popbox
@@ -474,7 +476,7 @@ export default {
       this.studentListCopy = this.studentList.filter(i => {
         return i.id !== this.info.userid;
       });
-     
+
       // this.AddIsPop = true;
       this.isPop = true;
     },
@@ -737,6 +739,7 @@ export default {
 </script>
 
 <style scoped>
+
 .dialog_diy {
   box-sizing: border-box;
   /* padding: 0 10px 10px 10px; */