Commit b4c55b7b43683fecfd9cbaf1bfd4f7c73580f52e

Authored by loveumiko
1 parent a50efc3d

fix: 修改看板组件,新增过后编辑不能拖拽问题

... ... @@ -169,8 +169,6 @@
169 169 }
170 170 );
171 171
172   - const { containerEl } = useSort(emit, getFormValues);
173   -
174 172 const handleSettingOk = (data: DataSourceType) => {
175 173 const { uuid } = data;
176 174 const _dataSource = cloneDeep(getFormValues());
... ... @@ -182,6 +180,8 @@
182 180 emit('update:dataSource', _dataSource);
183 181 };
184 182
  183 + const { containerEl } = useSort(emit, getFormValues);
  184 +
185 185 defineExpose({
186 186 getFormValues,
187 187 validate,
... ...
... ... @@ -267,6 +267,7 @@
267 267 <BasicModal
268 268 title="自定义组件"
269 269 width="70%"
  270 + :destroy-on-close="true"
270 271 @register="registerModal"
271 272 @ok="handleSubmit"
272 273 :ok-button-props="{ loading }"
... ...