Karsa hace 1 año
padre
commit
ee260d9247
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      src/views/datasheet_manage/components/calculateDateDia.vue

+ 4 - 2
src/views/datasheet_manage/components/calculateDateDia.vue

@@ -21,7 +21,7 @@
 					<i
 						class="el-icon-error del-tag"
 						v-if="index > 1"
-						@click="list.splice(index,1)"
+						@click="addList.splice(index,1)"
 					/>
 				</li>
 			</ul>
@@ -106,7 +106,7 @@ export default {
 		/* 添加额外的指标列 */
 		addTargetHandle() {
 			if(this.addList.length >= 26) return this.$message.warning('添加指标个数已达上限')
-			let tag = this.addList[this.addList.length-1].tag;
+			let tag = this.addList[this.addList.length-1].Tag;
 			let index = tag_arr.findIndex(item => item === tag);
 			const item = {
 				Tag: tag_arr[index+1],
@@ -209,6 +209,8 @@ export default {
   }
 	.dialog-main {
 		padding: 25px 42px 25px 25px;
+		max-height: 500px;
+		overflow-y: auto;
 		@media screen and (max-height:850px){
 			box-sizing: border-box;
 			height: 65vh;