We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dead2f1 commit e5b63d9Copy full SHA for e5b63d9
frontend/src/views/system/permission/index.vue
@@ -216,10 +216,14 @@ const handleColumnPermission = (row: any) => {
216
const icon = (item: any) => {
217
return (dsTypeWithImg.find((ele) => item.type === ele.type) || {}).img
218
}
219
-
+let time: any
220
const handleInitDsIdChange = (val: any) => {
221
columnForm.ds_id = val.id
222
columnForm.ds_name = val.name
223
+ time = setTimeout(() => {
224
+ clearTimeout(time)
225
+ columnFormRef.value.clearValidate('table_id')
226
+ }, 0)
227
datasourceApi.tableList(val.id).then((res: any) => {
228
tableListOptions.value = res || []
229
activeTable.value = null
0 commit comments