docs(项目管理): 添加存储库的弹窗中增加存储库地址的提示

--story=1014470 --user=宋天阳 github#29000,文件管理,链接第三方仓库增加提示 https://www.tapd.cn/55049933/s/1467360
This commit is contained in:
song-tianyang 2024-02-29 18:52:59 +08:00 committed by 刘瑞斌
parent a7d7c1940c
commit c72d43e15d
1 changed files with 5 additions and 18 deletions

View File

@ -45,7 +45,8 @@
:label="$t('project.project_file.repository.path')"
prop="repositoryPath"
>
<el-input v-model="moduleForm.repositoryPath"></el-input>
<el-input v-model="moduleForm.repositoryPath"
placeholder="https://gitea.com/xxx/xxx.git"></el-input>
</el-form-item>
<el-form-item
@ -115,17 +116,10 @@
</template>
<script>
import {
listenGoBack,
removeGoBackListener,
} from "metersphere-frontend/src/utils";
import {listenGoBack, removeGoBackListener,} from "metersphere-frontend/src/utils";
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
import MsDialogFooter from "metersphere-frontend/src/components/MsDialogFooter";
import {
createFileModule,
modifyFileModule,
testConnectRepository,
} from "@/api/file";
import {createFileModule, modifyFileModule, testConnectRepository,} from "@/api/file";
export default {
name: "FileModuleDialog",
@ -208,13 +202,6 @@ export default {
message: this.$t("test_track.length_less_than") + "255",
trigger: "blur",
},
{
pattern: "(.*)\.git$",
message: this.$t(
"project.project_file.validation.input_repository_path"
),
trigger: "blur",
},
],
repositoryToken: [
{