|
@@ -26,7 +26,7 @@
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { BasicForm, FormSchema } from '@/components/Form/index';
|
|
import { BasicForm, FormSchema } from '@/components/Form/index';
|
|
|
import { ElMessage } from 'element-plus';
|
|
import { ElMessage } from 'element-plus';
|
|
|
- import { getClassifyList } from '@/api/select/select';
|
|
|
|
|
|
|
+ import { getProvinceList } from '@/api/select/select';
|
|
|
|
|
|
|
|
const params = {
|
|
const params = {
|
|
|
type: 1,
|
|
type: 1,
|
|
@@ -34,7 +34,7 @@
|
|
|
|
|
|
|
|
async function loadSelectData(res) {
|
|
async function loadSelectData(res) {
|
|
|
//这里可以进行数据转换处理
|
|
//这里可以进行数据转换处理
|
|
|
- return (await getClassifyList({ ...res, ...params })).map((item, index) => {
|
|
|
|
|
|
|
+ return (await getProvinceList({ ...res, ...params })).map((item, index) => {
|
|
|
return {
|
|
return {
|
|
|
...item,
|
|
...item,
|
|
|
index,
|
|
index,
|