|
@@ -289,6 +289,10 @@
|
|
|
);
|
|
|
value = scope.row.two_factor + '';
|
|
|
if (value.length > 6) value = value.slice(0, 6);
|
|
|
+ if (value.length == 0) {
|
|
|
+ scope.row.two_factor = null;
|
|
|
+ return;
|
|
|
+ }
|
|
|
scope.row.two_factor = parseFloat(value);
|
|
|
"
|
|
|
></el-input>
|
|
@@ -323,6 +327,10 @@
|
|
|
);
|
|
|
value = scope.row.two_constant + '';
|
|
|
if (value.length > 6) value = value.slice(0, 6);
|
|
|
+ if (value.length == 0) {
|
|
|
+ scope.row.two_constant = null;
|
|
|
+ return;
|
|
|
+ }
|
|
|
scope.row.two_constant = parseFloat(value);
|
|
|
"
|
|
|
></el-input>
|
|
@@ -452,6 +460,10 @@
|
|
|
@input="
|
|
|
value = scope.row.score + '';
|
|
|
if (value.length > 6) value = value.slice(0, 6);
|
|
|
+ if (value.length == 0) {
|
|
|
+ scope.row.score = null;
|
|
|
+ return;
|
|
|
+ }
|
|
|
scope.row.score = parseFloat(value);
|
|
|
"
|
|
|
v-model.number="scope.row.score"
|
|
@@ -540,7 +552,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
resizeTable() {
|
|
|
- console.log('???????');
|
|
|
+ console.log("???????");
|
|
|
setTimeout(() => {
|
|
|
this.tableData.forEach((item, index) => {
|
|
|
this.$refs[
|