Commit Graph

182 Commits

Author SHA1 Message Date
wolfcode
efbf557cc0 fix(admin): ensure CheckAuth is enabled for route verification
Enable CheckAuth in the admin route configuration which was previously
commented out, ensuring that node permissions are validated as expected.
2024-07-19 21:14:28 +08:00
wolfcode
a2942e5589 feat(easy-admin): add laySearch support for search boxes in lists
Introduce the `laySearch` option to enable the search functionality on list
page search boxes. This improvement allows users to have a more intuitive
and interactive way of searching through the list data by providing a search
box with clear and concise feedback.

When `laySearch` is set to true, the corresponding search box will now
be equipped with the `lay-search` class which enhances the user interface
and experience.
2024-07-10 14:30:16 +08:00
wolfcode
f121d3c8b3 feat(easy-admin): add laySearch support for search boxes in lists
Introduce the `laySearch` option to enable the search functionality on list
page search boxes. This improvement allows users to have a more intuitive
and interactive way of searching through the lists by providing a search
input alongside the dropdown options.
2024-07-10 14:29:49 +08:00
wolfcode
a069704803 🚀 Layui v2.9.14 2024-07-10 14:20:48 +08:00
wolfcode
58db4f4277 fix(common): correct spelling of 'selectFields' in Curd.php
Fix misspelling of 'selectFields' option throughout Curd.php, ensuring consistency and
correctness in the command's configuration options.
2024-07-10 11:53:07 +08:00
wolfcode
332ededb3a update README.md 2024-07-10 11:19:01 +08:00
wolfcode
214b3e9f19 update README.md 2024-07-10 11:16:35 +08:00
wolfcode
6b97ca12de feat(admin): add table order sorting functionality
初始化表格排序,js排序操作传递到服务端
2024-07-08 14:57:18 +08:00
wolfcode
11aa723d75 fix(easy-admin): prevent js error when operat is not object
When the operat parameter passed to the easy-admin.js plugin is not an object,it previously caused a JavaScript error. This fix adds a check to ensure that operat is indeed an object before processing it, thus preventing the error.
2024-07-08 10:25:40 +08:00
wolfcode
df69c2aea4 refactor(admin-model): change MallGoods cate relation from BelongsTo to HasOne
The relationship between MallGoods and MallCate has been updated to reflect a HasOne
association rather than a BelongsTo. This change is reflected in the cate() method
of the MallGoods model, enhancing the flexibility of the model relationships.
2024-07-01 13:51:58 +08:00
wolfcode
5855a97255 Improve category selection in goods management - Simplify HTML structure and recommend a concise coding method for
category selection in both add and edit pages of the mall goods module.
- Modify the corresponding JS file to support the new category display format.
- Refactor controller code to assign categories using a more efficient method.
- Ensure consistent category data processing across all related views.

Note: This change updates the way categories are presented to the admin user,
enhancing usability and maintainability of the goods management system.
2024-06-20 10:23:27 +08:00
wolfcode
88035326a4 refactor(admin): change default editor from ueditor to wangEditor
Due to the recommendation for better performance and user experience,
the default editor in both configuration files and view templates has been
switched from ueditor to wangEditor. The code changes reflect this update by
marking ueditor as '(不建议使用)' (not recommended) and WangEditor as
'(推荐使用)' (recommended). Additionally, the relevant controller file has
been updated to ensure that the correct default editor is loaded based on
the new configuration setting.
2024-06-19 15:30:03 +08:00
wolfcode
df3571534c Adjust the editor_textarea function to allow $detail parameter as nullable
The function signature for `editor_textarea` in common.php has been updated
to accept `$detail` as a nullable string. This change allows the function to handle cases
where `$detail` might not be provided or could be null.

```php
-    function editor_textarea(string $detail, string $name = 'desc', string $placeholder = '请输入'): string
+ function editor_textarea(?string $detail, string $name = 'desc', string $placeholder = '请输入'): string
```
2024-06-18 17:36:23 +08:00
wolfcode
417a834593 feat(curd): 初始化下拉、单选、复选字段的后缀和字段类型定义
在BuildCurd.php中,新增了下拉字段的后缀定义及相关的字段类型数组初始化,同时对单选框和复选框的后缀及字段类型进行了初始化配置。这些改动将有助于更精确地识别和处理不同类型的表单字段。
2024-06-14 15:15:34 +08:00
wolfcode
070d9494e7 🚀 Layui V2.9.11 2024-06-07 13:38:33 +08:00
wolfcode
6dcd0c8d1f fix: 修复自动生成页面时获取表字段注释匹配失效 2024-06-07 11:35:46 +08:00
wolfcode
09beccc30b fix: 当修改后台路径时百度编辑器配置报错 2024-06-07 09:41:07 +08:00
wolfcode
41a444a49d Update LICENSE 2024-06-06 18:42:20 +08:00
wolfcode
1071c7e1d2 Update Ajax.php 2024-06-06 16:58:41 +08:00
wolfcode
8b1e9e3744 Update README.md 2024-05-23 17:38:40 +08:00
wolfcode
40256d3d4b Update welcome.html 2024-05-23 17:38:37 +08:00
wolfcode
4974ba7c79 🚀 Layui V2.9.10 2024-05-23 17:34:15 +08:00
wolfcode
9d61503ea6 Update Curd.php 2024-05-14 15:23:40 +08:00
wolfcode
2ec046de07 Update console.php 2024-05-14 13:33:30 +08:00
wolfcode
0c68f2c1ad Update session.php 2024-05-13 18:30:14 +08:00
wolfcode
a6fd81b0ed 🚀 202405重置版 2024-05-13 11:16:20 +08:00
wolfcode
504ab4c4cf Fix: 页面存在多个 wangEditor 时获取内容异常 2024-05-08 19:08:34 +08:00
wolfcode
c980a7949f 🚀 Layui V2.9.9 2024-05-08 11:12:04 +08:00
wolfcode
9b1f8f5990 Update: easyadmin相关快捷功能 2024-05-08 11:00:58 +08:00
wolfcode
41ed834201 Update: 百度编辑器上传相关 2024-05-08 11:00:26 +08:00
wolfcode
a9a4f0437d Update login.js 2024-05-08 10:59:53 +08:00
wolfcode
e234385761 Update CurdGenerate.php 2024-05-08 10:59:49 +08:00
wolfcode
b1c9e8d77e Update Install.php 2024-04-28 10:09:02 +08:00
wolfcode
ab7f63253e Update README.md 2024-04-28 09:37:42 +08:00
wolfcode
06e35242ca Update README.md 2024-04-15 18:36:27 +08:00
wolfcode
1d0b94009f 新增HTML编辑器,优化编辑器调用 2024-04-15 18:25:13 +08:00
wolfcode
796c3155c0 🚀 Layui V2.9.8 2024-04-15 18:23:54 +08:00
wolfcode
a72f8ec7b6 update:新增控制搜索Table显示隐藏 2024-03-25 13:54:08 +08:00
wolfcode
79182aa90a Update BuildCurd.php 2024-03-24 18:57:18 +08:00
wolfcode
9527157611 update:判断是否有初始默认搜索条件 2024-03-15 15:14:01 +08:00
wolfcode
10f76a9248 Layui V2.9.7 2024-03-01 09:48:28 +08:00
wolfcode
72a824f2f4 Update README.md 2024-01-30 09:35:06 +08:00
wolfcode
866486a5a5 Update easy-admin.js 2024-01-23 13:40:54 +08:00
wolfcode
1fd97f49a9 安装程序逻辑修改 2024-01-13 20:50:58 +08:00
wolfcode
0477e4aa4f Update log.js 2024-01-11 12:00:34 +08:00
wolfcode
69dfce1f88 UEditor Update. 2024-01-06 10:43:08 +08:00
wolfcode
6939bb18f7 优化CURD生成,支持不带表前缀 2023-12-10 12:16:28 +08:00
wolfcode
72d90aea4d Update curd_generate.js 2023-12-02 13:32:56 +08:00
wolfcode
959fa6687c 优化CURD可视化操作 2023-12-01 00:03:31 +08:00
wolfcode
83165c403c Update CurdGenerate.php 2023-11-30 18:29:49 +08:00