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.
|
import { |
|
listDictDataAll |
|
} from '@/api/dict' |
|
import { ref } from 'vue' |
|
|
|
export const getDictOptions = (dictType) => { |
|
const result = ref([]) |
|
listDictDataAll(dictType).then(data => { |
|
result.value = data |
|
}) |
|
return result; |
|
} |