摘要:
主要原因是:e在数学上代表的是无理数,是一个无限不循环的小数,其值约为2.7182818284,所以在输入e的时候,输入框会把e当成一个数字看待。 可以采用下面的方式来避免这个BUG,在input标签中添加如下属性 onKeypress="return(/[\d\.]/.test(String.fr 阅读全文
摘要:
computed: { selectedQuestions() { let selectedQuestions = this.editedItem.questions; return this.questions.filter(function (question) { return selecte 阅读全文