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.
20 lines
401 B
20 lines
401 B
7 months ago
|
let mixin = {
|
||
|
data(){
|
||
|
return{
|
||
|
tasktypelist:[]
|
||
|
}
|
||
|
},
|
||
|
created() {
|
||
|
this.getDictType()
|
||
|
},
|
||
|
methods: {
|
||
|
async getDictType() {
|
||
|
const res = await this.http.quickGet('/system/dict/data/type/crowdsourcing_task_type',false)
|
||
|
this.tasktypelist = res.data.data
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
|
||
|
// 记住,最后一定要导出
|
||
|
export default mixin
|