@yoooloo42/joker 1.0.274 → 1.0.275
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 +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -23038,13 +23038,13 @@ const submitInsertOne = async _ref10 => {
|
|
|
23038
23038
|
// 关闭表单窗口
|
|
23039
23039
|
scopeThis.formProps.popup.visible = false;
|
|
23040
23040
|
elementPlus.ElMessage('新增一条记录成功');
|
|
23041
|
-
scopeThis.tableData.data = [result.dataNew];
|
|
23042
|
-
scopeThis.tableData.total = 1;
|
|
23043
|
-
scopeThis.tableData.currentPage = 1;
|
|
23044
23041
|
scopeThis.query.formData = {
|
|
23045
|
-
_id: result.
|
|
23042
|
+
_id: result._id
|
|
23046
23043
|
};
|
|
23047
23044
|
scopeThis.query.currentPage = 1;
|
|
23045
|
+
await refresh({
|
|
23046
|
+
scopeThis
|
|
23047
|
+
});
|
|
23048
23048
|
} else {
|
|
23049
23049
|
if (result.message) {
|
|
23050
23050
|
elementPlus.ElMessage(result.message);
|