mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: 分组选择支持清空选项
This commit is contained in:
@@ -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]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user