star-horse-lowcode 2.7.57 → 2.7.59
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/README.md +10 -3
- package/dist/assets/index.css +1 -1
- package/dist/index.es.js +158 -116
- package/dist/types/index.d.ts +92 -72
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -6,14 +6,16 @@
|
|
|
6
6
|
import StarHorseLowCode from "star-horse-lowcode";
|
|
7
7
|
import "star-horse-lowcode/assets/index.css"
|
|
8
8
|
import "router" from "@/router";
|
|
9
|
-
import ElementPlus from 'element-plus'
|
|
10
|
-
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
9
|
+
import ElementPlus from 'element-plus';
|
|
10
|
+
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
|
|
11
11
|
const app = createApp(App);
|
|
12
12
|
app.use(ElementPlus, { locale: zhCn })
|
|
13
13
|
//没有配置elementPlusOptions,组件认为没有用elementPlus,
|
|
14
14
|
// 所以会在组件内部引入elementPlus
|
|
15
15
|
app.use(StarHorseLowCode,{
|
|
16
16
|
router: router,
|
|
17
|
+
//不传此参数则使用插件内部的axios header配置参数
|
|
18
|
+
//axiosInstance:axiosInstance,
|
|
17
19
|
elementPlusOptions: {
|
|
18
20
|
locale: zhCn
|
|
19
21
|
}
|
|
@@ -307,5 +309,10 @@ barcode 条形码组件
|
|
|
307
309
|
27. 2025-07-22 修复动态表单设计时,属性undefined 的Bug
|
|
308
310
|
更新示例图片
|
|
309
311
|
修复StarHorseFormList 组件staticColumn(控制在批量添加数据时,时弹窗添加还是直接在列表中添加) 为N 时不生效问题
|
|
310
|
-
28. 2025-07-23 修复编辑数据时,组件初始化时不触发actions定义的事件问题,如果要阻止在初始化时触发事件(默认初始化时触发自定义事件)
|
|
312
|
+
28. 2025-07-23 修复编辑数据时,组件初始化时不触发actions定义的事件问题,如果要阻止在初始化时触发事件(默认初始化时触发自定义事件),
|
|
313
|
+
需在preps 中增加 stopInitCallAction:true
|
|
314
|
+
修复动态菜单,页面按钮权限控制问题
|
|
311
315
|
|
|
316
|
+
29. 2025-07-26 增加接口传入引用项目axiosInstance 和对外导出插件内的starHorseAxios(axiosInstance),如果传入axiosInstance
|
|
317
|
+
则屏蔽插件内的和对外导出插件内的starHorseAxios,以解决引用项目axios 和插件内axios 配置不一致问题(历史遗留),
|
|
318
|
+
以满足使用者自定义接口需配置的header参数
|