@yoooloo42/joker 1.0.178 → 1.0.179

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/dist/index.esm.js CHANGED
@@ -22875,7 +22875,8 @@ const submitInsertOne = async _ref0 => {
22875
22875
  // 提交 - 修改一条记录
22876
22876
  const submitUpdateOne = async _ref1 => {
22877
22877
  let {
22878
- scopeThis
22878
+ scopeThis,
22879
+ row
22879
22880
  } = _ref1;
22880
22881
  try {
22881
22882
  await ElMessageBox.confirm('修改一条记录, 提交?', '提示', {
@@ -22885,7 +22886,7 @@ const submitUpdateOne = async _ref1 => {
22885
22886
  });
22886
22887
  const result = await ly0request.storpro({
22887
22888
  storproName: scopeThis.storpro.updateOne,
22888
- data: scopeThis.formData
22889
+ data: row
22889
22890
  });
22890
22891
  if (result.code === 0) {
22891
22892
  // 关闭表单窗口
@@ -22910,7 +22911,7 @@ const submitUpdateOne = async _ref1 => {
22910
22911
  const submitDeleteOne = async _ref10 => {
22911
22912
  let {
22912
22913
  scopeThis,
22913
- formData
22914
+ row
22914
22915
  } = _ref10;
22915
22916
  try {
22916
22917
  await ElMessageBox.confirm('删除一条记录, 提交?', '警告', {
@@ -22920,7 +22921,7 @@ const submitDeleteOne = async _ref10 => {
22920
22921
  });
22921
22922
  const result = await ly0request.storpro({
22922
22923
  storproName: scopeThis.storpro.deleteOne,
22923
- data: formData // 继承行记录的值
22924
+ data: row // 继承行记录的值
22924
22925
  });
22925
22926
  if (result.code === 0) {
22926
22927
  ElMessage('删除一条记录成功');