✨ 优化脚本库新增脚本时序号自动累加
This commit is contained in:
parent
7c15d311c1
commit
c04989b951
@ -7,6 +7,7 @@
|
||||
* 分组添加实例数量标识
|
||||
* 优化登录逻辑
|
||||
* 默认登录有效期更改为当天有效
|
||||
* 优化脚本库新增脚本时序号自动累加
|
||||
* 修复一些小bug
|
||||
|
||||
## [2.3.0](https://github.com/chaos-zhu/easynode/releases) (2024-10-24)
|
||||
|
@ -196,6 +196,7 @@ const isPlusActive = computed(() => $store.isPlusActive)
|
||||
|
||||
let addScript = () => {
|
||||
formData.id = null
|
||||
formData.index = scriptList.value.reduce((acc, cur) => Math.max(acc, Number(cur.index) || 0), 0) + 1
|
||||
isModify.value = false
|
||||
formVisible.value = true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user