Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjj1024 committed Dec 19, 2024
1 parent 3620385 commit 45e59ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ const appRules = reactive<FormRules>({
},
{
validator: (rule, value, callback) => {
const versionPattern = /^\d+\.\d+\.\d+$/ // 匹配如 1.8.8 1.9.23
const versionPattern = /^\d\.\d\.\d$/ // 1.8.8 or 1.9.2
if (!versionPattern.test(value)) {
callback(new Error(t('versionSemVer')))
} else {
Expand Down Expand Up @@ -1252,9 +1252,9 @@ const dispatchAction = async () => {
// create issue
const createIssue = async (url: string) => {
const issueRes: any = await githubApi.createIssue({
body: `编译出错:${url}`,
body: `build error:${url}`,
labels: ['failure'],
title: `${store.currentProject.name}编译出错`,
title: `${store.currentProject.name} build error`,
})
console.log('issueRes---', issueRes)
}
Expand Down

0 comments on commit 45e59ec

Please sign in to comment.