Browse Source

console.log

master_hella_20240701
yufei0306 5 months ago
parent
commit
b8f8a7666e
  1. 14
      src/components/rowDrop/index.vue

14
src/components/rowDrop/index.vue

@ -47,14 +47,14 @@ const allData = ref([]) // 字段设置列表展现字段 除操作外
const checkedDataList = ref([])
const checkAll = ref(true)
const handlecheckallchange = (val: boolean) => {
console.log('handlecheckallchange全部',val)
// console.log('handlecheckallchange',val)
checkedDataList.value = val ? allData.value : []
isIndeterminate.value = false
save()
}
const handlecheckedchange = (value: string[]) => {
console.log('handlecheckedchange',value)
console.log('allData',allData.value)
// console.log('handlecheckedchange',value)
// console.log('allData',allData.value)
const checkedCount = value.length
checkAll.value = checkedCount === allData.value.length
isIndeterminate.value = checkedCount > 0 && checkedCount < allData.value.length
@ -88,9 +88,9 @@ const save = () => {
if(props.detailAllSchemas){
myTableColumns = [...props.allSchemas?.tableColumns,...props.detailAllSchemas?.tableMainColumns]
}
console.log('myTableColumns',myTableColumns)
console.log('checkedDataList',checkedDataList)
console.log('allData',allData.value)
// console.log('myTableColumns',myTableColumns)
// console.log('checkedDataList',checkedDataList)
// console.log('allData',allData.value)
let leftArr = []
let rightArr = []
@ -119,7 +119,7 @@ const save = () => {
field:item.field,
isTable:item.isTable
}))
console.log('paramsData',paramsData)
// console.log('paramsData',paramsData)
RedisApi.addRedis({key: routeName.value,value: JSON.stringify(paramsData)}).then(() => {
}).catch(err => {
console.log(err)

Loading…
Cancel
Save