qinzhipeng_v hace 5 años
padre
commit
90c2a2cef8

+ 1 - 1
src/views/projectManage/requirement/details/index.vue

@@ -2,7 +2,7 @@
   <el-container style="background-color: #F2F3F6;">
     <el-header style="margin: 1%;" class="layout_header">
       <div>
-        <el-tooltip :disabled="requirement.name.length > 20 ? false : true" effect="dark" :content="requirement.name" placement="bottom">
+        <el-tooltip :disabled="requirement.name.length > 19 ? false : true" effect="dark" :content="requirement.name" placement="bottom">
           <span style="font-size:20px;font-family:MicrosoftYaHei;color:rgba(51,51,51,1);">{{ '需求:' + requirement.name | ellipsis }}</span>
         </el-tooltip>
         <el-dropdown

+ 3 - 3
src/views/projectManage/taskList/taskViewDetails.vue

@@ -16,8 +16,8 @@
             <el-tooltip :disabled="task_form.name.length > 20 ? false : true" class="item" effect="dark" :content="task_form.name" placement="bottom">
               <span style="font-size:20px;font-family:MicrosoftYaHei;color:rgba(51,51,51,1);">任务 : {{ task_form.name | ellipsis }}</span>
             </el-tooltip>
-            <el-dropdown placement="bottom" @command="handleCommand">
-              <el-button size="mini" class="el-dropdown-link drop_down" style="cursor: pointer;margin-left:15px">
+            <el-dropdown trigger="click" placement="bottom" @command="handleCommand">
+              <el-button size="mini" style="cursor: pointer;margin-left:15px">
                 {{ task_form.statusString }}
                 <i class="el-icon-arrow-down el-icon--right" />
               </el-button>
@@ -33,7 +33,7 @@
           </div>
           <span style="float: right;">
             <el-button size="mini" @click="centerDialogVisible_task = true">删除任务</el-button>
-            <el-dropdown placement="bottom" style="margin-left: 10px;">
+            <el-dropdown trigger="click" placement="bottom" style="margin-left: 10px;">
               <el-button size="mini" type="primary">
                 新建
                 <i class="el-icon-arrow-down el-icon--right" />