|
@@ -85,7 +85,7 @@ import { mapState } from "vuex";
|
|
|
|
|
|
const initModalForm = {
|
|
const initModalForm = {
|
|
doubleEnable: false,
|
|
doubleEnable: false,
|
|
- doubleRate: 100,
|
|
|
|
|
|
+ doubleRate: 0,
|
|
arbitrateThreshold: null,
|
|
arbitrateThreshold: null,
|
|
scorePolicy: "AVG",
|
|
scorePolicy: "AVG",
|
|
};
|
|
};
|
|
@@ -136,8 +136,8 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
visibleChange() {
|
|
visibleChange() {
|
|
this.modalForm = this.$objAssign(initModalForm, this.instance);
|
|
this.modalForm = this.$objAssign(initModalForm, this.instance);
|
|
|
|
+ this.modalForm.doubleRate = this.modalForm.doubleRate || 0;
|
|
this.modalForm.doubleEnable = this.modalForm.doubleRate > 0;
|
|
this.modalForm.doubleEnable = this.modalForm.doubleRate > 0;
|
|
- this.modalForm.doubleRate = this.modalForm.doubleRate || 100;
|
|
|
|
this.modalForm.arbitrateThreshold =
|
|
this.modalForm.arbitrateThreshold =
|
|
this.modalForm.arbitrateThreshold || undefined;
|
|
this.modalForm.arbitrateThreshold || undefined;
|
|
},
|
|
},
|