dev_aliyun_beta
杨树林 5 years ago
parent 3501f2caa5
commit f230cf8a11

@ -1892,7 +1892,7 @@ class PollNewQuestbank extends Component {
// console.log(poll_question_id)
var thiss = this;
if (bool === true) {
var url = `/poll_questions/${poll_question_id}/up_down.json`;
var url = `/exercise_bank_questions/${poll_question_id}/up_down.json`;
axios.post(url, {
opr: "up",
}).then((result) => {
@ -1909,7 +1909,7 @@ class PollNewQuestbank extends Component {
})
} else {
var url = `/poll_questions/${poll_question_id}/up_down.json`;
var url = `/exercise_bank_questions/${poll_question_id}/up_down.json`;
axios.post(url, {
opr: "down",
}).then((result) => {

Loading…
Cancel
Save