docs(项目管理): 添加存储库的弹窗中增加存储库地址的提示
--story=1014470 --user=宋天阳 github#29000,文件管理,链接第三方仓库增加提示 https://www.tapd.cn/55049933/s/1467360
This commit is contained in:
parent
a7d7c1940c
commit
c72d43e15d
|
@ -45,7 +45,8 @@
|
||||||
:label="$t('project.project_file.repository.path')"
|
:label="$t('project.project_file.repository.path')"
|
||||||
prop="repositoryPath"
|
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>
|
||||||
|
|
||||||
<el-form-item
|
<el-form-item
|
||||||
|
@ -115,17 +116,10 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {listenGoBack, removeGoBackListener,} from "metersphere-frontend/src/utils";
|
||||||
listenGoBack,
|
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
|
||||||
removeGoBackListener,
|
|
||||||
} from "metersphere-frontend/src/utils";
|
|
||||||
import { getCurrentProjectID } from "metersphere-frontend/src/utils/token";
|
|
||||||
import MsDialogFooter from "metersphere-frontend/src/components/MsDialogFooter";
|
import MsDialogFooter from "metersphere-frontend/src/components/MsDialogFooter";
|
||||||
import {
|
import {createFileModule, modifyFileModule, testConnectRepository,} from "@/api/file";
|
||||||
createFileModule,
|
|
||||||
modifyFileModule,
|
|
||||||
testConnectRepository,
|
|
||||||
} from "@/api/file";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "FileModuleDialog",
|
name: "FileModuleDialog",
|
||||||
|
@ -208,13 +202,6 @@ export default {
|
||||||
message: this.$t("test_track.length_less_than") + "255",
|
message: this.$t("test_track.length_less_than") + "255",
|
||||||
trigger: "blur",
|
trigger: "blur",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
pattern: "(.*)\.git$",
|
|
||||||
message: this.$t(
|
|
||||||
"project.project_file.validation.input_repository_path"
|
|
||||||
),
|
|
||||||
trigger: "blur",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
repositoryToken: [
|
repositoryToken: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue