|  | @@ -71,13 +71,13 @@
 | 
	
		
			
				|  |  |      <div class="voice-matrix-input">
 | 
	
		
			
				|  |  |        <el-input
 | 
	
		
			
				|  |  |          v-model="rowNumber"
 | 
	
		
			
				|  |  | -        :maxlength="1"
 | 
	
		
			
				|  |  | +        :maxlength="2"
 | 
	
		
			
				|  |  |          @input="number('rowNumber')"
 | 
	
		
			
				|  |  |        />
 | 
	
		
			
				|  |  |        行
 | 
	
		
			
				|  |  |        <el-input
 | 
	
		
			
				|  |  |          v-model="columnNumber"
 | 
	
		
			
				|  |  | -        :maxlength="1"
 | 
	
		
			
				|  |  | +        :maxlength="2"
 | 
	
		
			
				|  |  |          @input="number('columnNumber')"
 | 
	
		
			
				|  |  |        />
 | 
	
		
			
				|  |  |        列
 | 
	
	
		
			
				|  | @@ -466,14 +466,14 @@ export default {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // 删除生成的mp3
 | 
	
		
			
				|  |  |      delMp3() {
 | 
	
		
			
				|  |  | -        this.$confirm("确定要删除吗?", "提示", {
 | 
	
		
			
				|  |  | -            confirmButtonText: "确定",
 | 
	
		
			
				|  |  | -            cancelButtonText: "取消",
 | 
	
		
			
				|  |  | -            type: "warning",
 | 
	
		
			
				|  |  | -        })
 | 
	
		
			
				|  |  | +      this.$confirm("确定要删除吗?", "提示", {
 | 
	
		
			
				|  |  | +        confirmButtonText: "确定",
 | 
	
		
			
				|  |  | +        cancelButtonText: "取消",
 | 
	
		
			
				|  |  | +        type: "warning",
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  |          .then(() => {
 | 
	
		
			
				|  |  | -            this.curQue.mp3_list.splice(0, 1);
 | 
	
		
			
				|  |  | -        })
 | 
	
		
			
				|  |  | +          this.curQue.mp3_list.splice(0, 1);
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      changeMp3(fileList) {
 | 
	
	
		
			
				|  | @@ -516,9 +516,16 @@ export default {
 | 
	
		
			
				|  |  |        this.curQue.lrc_list = lrc_list;
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    number(value) {
 | 
	
		
			
				|  |  | -      let match = this[value].match(/^\d{1}/g);
 | 
	
		
			
				|  |  | -      this[value] = match ? Number(match[0]) : "";
 | 
	
		
			
				|  |  | +    number(attr) {
 | 
	
		
			
				|  |  | +      let val = this[attr];
 | 
	
		
			
				|  |  | +      if (val.length <= 0) return '';
 | 
	
		
			
				|  |  | +      if (/(^1[12345678]$)|(^\d{1}$)/g.test(val)) {
 | 
	
		
			
				|  |  | +        return (this[attr] = Number(val));
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      if (val.length >= 2 && /^\d*$/g.test(val)) {
 | 
	
		
			
				|  |  | +        return (this[attr] = 18);
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      this[attr] = '';
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 |