mirror of https://github.com/certd/certd
perf: 分组选择支持清空选项
parent
d7dda336ec
commit
03e2e99498
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="pi-group-selector flex full-w">
|
<div class="pi-group-selector flex full-w">
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<fs-dict-select :value="modelValue" :dict="groupDictRef" @update:value="doUpdate"></fs-dict-select>
|
<fs-dict-select :value="modelValue" :dict="groupDictRef" :allow-clear="true" @update:value="doUpdate"></fs-dict-select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<fs-table-select
|
<fs-table-select
|
||||||
|
|
|
@ -77,7 +77,10 @@ export class GithubCheckRelease extends AbstractTaskPlugin {
|
||||||
this.logger.info(`有更新,${lastVersion??"0"}->${res.tag_name}`)
|
this.logger.info(`有更新,${lastVersion??"0"}->${res.tag_name}`)
|
||||||
this.lastVersion = res.tag_name;
|
this.lastVersion = res.tag_name;
|
||||||
|
|
||||||
const body = res.body.replaceAll("* ","- ")
|
// const body = res.body.replaceAll("* ","- ")
|
||||||
|
//仅每行开头的* 替换成 -, *号前面可以有空格
|
||||||
|
const body = res.body.replace(/^(\s*)\* /gm, "$1- ")
|
||||||
|
|
||||||
if (this.notificationIds == null){
|
if (this.notificationIds == null){
|
||||||
this.notificationIds = [0]
|
this.notificationIds = [0]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue