dev_aliyun_beta
杨树林 5 years ago
parent 00e2892b58
commit 434d9eeb5b

@ -6,8 +6,9 @@ import {
import TPMMDEditor from '../../../tpm/challengesnew/TPMMDEditor';
import axios from 'axios'
import { City , getUploadActionUrl , appendFileSizeToUploadFileAll } from 'educoder';
const $ = window.$;
const NAME_COUNT=60;
const { Option} = Select;
class GraduateTopicNewForm extends Component{
constructor(props){
super(props);

@ -1807,12 +1807,17 @@ class PollNewQuestbank extends Component {
var urlly = `/poll_bank_questions.json`;
var max_choicess = null;
var min_choicess = null;
if (max_choices === 0 && min_choices === 0) {
try {
if (max_choices === 0 && min_choices === 0) {
max_choicess = null;
min_choicess = null;
} else {
max_choicess = max_choices;
min_choicess = min_choices;
}
}catch (e) {
max_choicess = null;
min_choicess = null;
} else {
max_choicess = max_choices;
min_choicess = min_choices;
}
var datay={};
datay={
@ -1873,7 +1878,20 @@ class PollNewQuestbank extends Component {
// console.log("调用了edittotheserver")
var url = `/poll_bank_questions/${object.question.id}.json`
var thiss = this;
var max_choicess = null;
var min_choicess = null;
try {
if (max_choices === 0 && min_choices === 0) {
max_choicess = null;
min_choicess = null;
} else {
max_choicess = max_choices;
min_choicess = min_choices;
}
}catch (e) {
max_choicess = null;
min_choicess = null;
}
var datay={};
datay={
// debug: true,

@ -3,8 +3,7 @@ import { Input, InputNumber, Form, Button, Checkbox, Upload, Icon, message, Moda
import axios from 'axios'
import { WordsBtn, getUrl, ConditionToolTip, appendFileSizeToUploadFile, appendFileSizeToUploadFileAll } from 'educoder'
import TPMMDEditor from '../../../tpm/challengesnew/TPMMDEditor';
const $ = window.$;
const MAX_TITLE_LENGTH = 60;
class NewGtaskForms extends Component{
constructor(props){

Loading…
Cancel
Save