@yoooloo42/joker 1.0.274 → 1.0.276
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 +8 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -23002,7 +23002,11 @@ const submitFind = async _ref1 => {
|
|
|
23002
23002
|
let {
|
|
23003
23003
|
scopeThis
|
|
23004
23004
|
} = _ref1;
|
|
23005
|
+
console.log('joker测试 000', scopeThis.formData);
|
|
23006
|
+
console.log('joker测试 111', scopeThis.queryInit.formData);
|
|
23005
23007
|
unclassified.deepClone.replaceObject(scopeThis.query.formData, scopeThis.formData);
|
|
23008
|
+
console.log('joker测试 222', scopeThis.formData);
|
|
23009
|
+
console.log('joker测试 333', scopeThis.queryInit.formData);
|
|
23006
23010
|
scopeThis.query.sort = JSON.parse(JSON.stringify(scopeThis.tableData.sort));
|
|
23007
23011
|
scopeThis.query.pageSize = scopeThis.tableData.pageSize;
|
|
23008
23012
|
scopeThis.query.currentPage = scopeThis.tableData.currentPage;
|
|
@@ -23038,13 +23042,13 @@ const submitInsertOne = async _ref10 => {
|
|
|
23038
23042
|
// 关闭表单窗口
|
|
23039
23043
|
scopeThis.formProps.popup.visible = false;
|
|
23040
23044
|
elementPlus.ElMessage('新增一条记录成功');
|
|
23041
|
-
scopeThis.tableData.data = [result.dataNew];
|
|
23042
|
-
scopeThis.tableData.total = 1;
|
|
23043
|
-
scopeThis.tableData.currentPage = 1;
|
|
23044
23045
|
scopeThis.query.formData = {
|
|
23045
|
-
_id: result.
|
|
23046
|
+
_id: result._id
|
|
23046
23047
|
};
|
|
23047
23048
|
scopeThis.query.currentPage = 1;
|
|
23049
|
+
await refresh({
|
|
23050
|
+
scopeThis
|
|
23051
|
+
});
|
|
23048
23052
|
} else {
|
|
23049
23053
|
if (result.message) {
|
|
23050
23054
|
elementPlus.ElMessage(result.message);
|