@yoooloo42/joker 1.0.214 → 1.0.215

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
@@ -22758,7 +22758,8 @@ const refresh = async _ref => {
22758
22758
  sort: scopeThis.query.sort,
22759
22759
  limit: scopeThis.query.pageSize,
22760
22760
  page: scopeThis.query.currentPage
22761
- }
22761
+ },
22762
+ routerInstance: scopeThis.routerInstance || null
22762
22763
  });
22763
22764
  scopeThis.tableProps.table.loading.visible = false;
22764
22765
  if (result.code === 0) {
@@ -22920,7 +22921,8 @@ const submitInsertOne = async _ref0 => {
22920
22921
  });
22921
22922
  const result = await ly0request.storpro({
22922
22923
  storproName: scopeThis.storpro.insertOne,
22923
- data: scopeThis.formData
22924
+ data: scopeThis.formData,
22925
+ routerInstance: scopeThis.routerInstance || null
22924
22926
  });
22925
22927
  if (result.code === 0) {
22926
22928
  // 关闭表单窗口
@@ -22958,7 +22960,8 @@ const submitUpdateOne = async _ref1 => {
22958
22960
  });
22959
22961
  const result = await ly0request.storpro({
22960
22962
  storproName: scopeThis.storpro.updateOne,
22961
- data: scopeThis.formData
22963
+ data: scopeThis.formData,
22964
+ routerInstance: scopeThis.routerInstance || null
22962
22965
  });
22963
22966
  if (result.code === 0) {
22964
22967
  // 关闭表单窗口
@@ -22993,7 +22996,9 @@ const submitDeleteOne = async _ref10 => {
22993
22996
  });
22994
22997
  const result = await ly0request.storpro({
22995
22998
  storproName: scopeThis.storpro.deleteOne,
22996
- data: row // 继承行记录的值
22999
+ data: row,
23000
+ // 继承行记录的值
23001
+ routerInstance: scopeThis.routerInstance || null
22997
23002
  });
22998
23003
  if (result.code === 0) {
22999
23004
  ElMessage('删除一条记录成功');