bl-common-vue3 3.8.104 → 3.8.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bl-common-vue3",
3
- "version": "3.8.104",
3
+ "version": "3.8.105",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "description": "bailing vue3 common components lib",
@@ -225,11 +225,23 @@ export default defineComponent({
225
225
  okText: t('common.button.confirm'),
226
226
  cancelText: t('common.button.cancel'),
227
227
  onOk: () => {
228
- state.defaultColumns = cloneDeep(props.initColumns).map((v) => {
229
- v.sorter = v.hasSort ? v?.sorter ?? true : false;
230
- return v;
228
+ let extra = {
229
+ table_name: props.tableId,
230
+ }
231
+ context.emit("request", {
232
+ params: {
233
+ method: "del",
234
+ server: "/org",
235
+ url: "/org/user/table",
236
+ extra: {
237
+ ...extra
238
+ },
239
+ },
240
+ success: () => {
241
+ message.success(t('common.save.success'));
242
+ context.emit("handleSuccess");
243
+ },
231
244
  });
232
- onSubmit();
233
245
  },
234
246
  });
235
247
  };