修改参数,接口报错

This commit is contained in:
zhangsir
2024-10-28 16:54:22 +08:00
parent 8b0757778d
commit 24660182ec
2 changed files with 5 additions and 5 deletions

View File

@@ -118,8 +118,8 @@ const props = defineProps({
default: ""
},
ids:{
type: Array,
default: ()=>[]
type: String,
default: ''
}
});
const modalVisible = ref(false)

View File

@@ -435,7 +435,7 @@
setup() {
const formRef = ref();
const state = reactive({
selectsIds: [],
selectsIds: '',
visibleConfirm: false,
title:'导入讲师费记录',
allFeedialog:false,
@@ -1101,12 +1101,12 @@ console.log( "讲师体系id" +val);
state.allFeedialog=true
}
const selectedRowKeys = (val) => {
state.selectsIds = val;
state.selectsIds = val?.join(',');
state.visibleConfirm = true;
}
watch(()=>state.visibleConfirm,(val)=>{
if(!val){
state.selectsIds = [];
state.selectsIds = '';
}
})
const tableDatas = ref([])