@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.cjs.js CHANGED
@@ -22762,7 +22762,8 @@ const refresh = async _ref => {
22762
22762
  sort: scopeThis.query.sort,
22763
22763
  limit: scopeThis.query.pageSize,
22764
22764
  page: scopeThis.query.currentPage
22765
- }
22765
+ },
22766
+ routerInstance: scopeThis.routerInstance || null
22766
22767
  });
22767
22768
  scopeThis.tableProps.table.loading.visible = false;
22768
22769
  if (result.code === 0) {
@@ -22924,7 +22925,8 @@ const submitInsertOne = async _ref0 => {
22924
22925
  });
22925
22926
  const result = await ly0request$1.storpro({
22926
22927
  storproName: scopeThis.storpro.insertOne,
22927
- data: scopeThis.formData
22928
+ data: scopeThis.formData,
22929
+ routerInstance: scopeThis.routerInstance || null
22928
22930
  });
22929
22931
  if (result.code === 0) {
22930
22932
  // 关闭表单窗口
@@ -22962,7 +22964,8 @@ const submitUpdateOne = async _ref1 => {
22962
22964
  });
22963
22965
  const result = await ly0request$1.storpro({
22964
22966
  storproName: scopeThis.storpro.updateOne,
22965
- data: scopeThis.formData
22967
+ data: scopeThis.formData,
22968
+ routerInstance: scopeThis.routerInstance || null
22966
22969
  });
22967
22970
  if (result.code === 0) {
22968
22971
  // 关闭表单窗口
@@ -22997,7 +23000,9 @@ const submitDeleteOne = async _ref10 => {
22997
23000
  });
22998
23001
  const result = await ly0request$1.storpro({
22999
23002
  storproName: scopeThis.storpro.deleteOne,
23000
- data: row // 继承行记录的值
23003
+ data: row,
23004
+ // 继承行记录的值
23005
+ routerInstance: scopeThis.routerInstance || null
23001
23006
  });
23002
23007
  if (result.code === 0) {
23003
23008
  elementPlus.ElMessage('删除一条记录成功');