| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getProblemsVO, getSystemDictData } from '@/api' |
| | | export default { |
| | | name: 'answer', |
| | | |
| | |
| | | methods: { |
| | | getInfo() { |
| | | // title |
| | | this.$u.api.getSystemDictData({ |
| | | getSystemDictData({ |
| | | dictCode: 'SYSTEM', |
| | | label: 'THEME' |
| | | }).then(res => { |
| | |
| | | this.title = res.data.code |
| | | } |
| | | }) |
| | | this.$u.api.getSystemDictData({ |
| | | // this.$u.api.getSystemDictData({ |
| | | getSystemDictData({ |
| | | dictCode: 'SYSTEM', |
| | | label: 'DESCRIPTION' |
| | | }).then(res => { |
| | |
| | | }) |
| | | }, |
| | | getProblems() { |
| | | this.$u.api.getProblemsVO({ useType: 1 }) |
| | | getProblemsVO({ useType: 1 }) |
| | | .then(res => { |
| | | if (res.code === 200) { |
| | | res.data.forEach(item => { |