You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jwl-applet/src/jtools/store/question.js

21 lines
424 B

2 years ago
import { defineStore } from 'pinia';
import http from '@/jtools/request/index';
import constants from '@/jtools/constants';
import storage from '@/jtools/storage';
const question = defineStore({
id: 'question',
state: () => ({
orderQuestionList: [], //顺序做题
}),
actions: {
// 获取顺序做题
getQuestionList(arr) {
this.orderQuestionList=[...arr]
},
}
});
export default question;