dev
阿丽 3 years ago
parent 46c6f1297e
commit dbbffd39c2

@ -30,27 +30,34 @@ export default {
data() { data() {
return { return {
initData: {}, initData: {},
state:'', state: "",
numerical: "",
}; };
}, },
methods: { methods: {
// onSubmit() { onSubmit() {
// let state = state; let state = state;
// if (initData.total >= 80 && initData.total <=100){ // if (initData.total >= 80 && initData.total <= 100) {
// state << "" // state = "";
// }else if (initData.total >= 50 && initData.total <=70){ // } else if (initData.total >= 50 && initData.total <= 70) {
// state ="" // state = "";
// } // } else if (initData.total >= 20 && initData.total <= 20) {
// else if (initData.total >= 20 && initData.total <=20){ // state = "";
// state ="" // }
// } // let numerical = numerical;
// console.log("submit!"); // if ((state = 100 && state >= 70 && state >= 40)) {
// }, // numerical = "";
// } else if (state > 90 && state >= 50 && state >= 30) {
// numerical = "";
// } else if (state > 80 && state >= 50 && state >= 20) {
// numerical = "";
// }
console.log("submit!");
},
}, },
created() { created() {
this.initData = this.getScoreData; this.initData = this.getScoreData;
console.log( this.initData) console.log(this.initData);
}, },
}; };
</script> </script>

Loading…
Cancel
Save