|
@@ -244,13 +244,13 @@
|
|
const pureName=name.replace(/(\$\{number_\S*?\})|(\$\{input_\S*?\})/g,'');
|
|
const pureName=name.replace(/(\$\{number_\S*?\})|(\$\{input_\S*?\})/g,'');
|
|
//console.log(pureName);
|
|
//console.log(pureName);
|
|
if(pureName.length > 30) {
|
|
if(pureName.length > 30) {
|
|
- if(isName){
|
|
|
|
|
|
+ /*if(isName){
|
|
Vue.set(this.rows[i], 'name', this.rows[i].name.slice(0, 30));
|
|
Vue.set(this.rows[i], 'name', this.rows[i].name.slice(0, 30));
|
|
this.$refs.inputName[i].currentValue = this.rows[i].name;
|
|
this.$refs.inputName[i].currentValue = this.rows[i].name;
|
|
}else{
|
|
}else{
|
|
Vue.set(this.rows[i], 'description', this.rows[i].description.slice(0, 30));
|
|
Vue.set(this.rows[i], 'description', this.rows[i].description.slice(0, 30));
|
|
this.$refs.inputDesc[i].currentValue = this.rows[i].description;
|
|
this.$refs.inputDesc[i].currentValue = this.rows[i].description;
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
|
|
|
|
this.$message({
|
|
this.$message({
|
|
message: '最多输入30个字',
|
|
message: '最多输入30个字',
|