Skip to content

Commit

Permalink
Merge pull request #1703 from lockiechen/hotfix_20240125_release
Browse files Browse the repository at this point in the history
fix: 修复项目切换问题
  • Loading branch information
yaoxuwan authored Jan 26, 2024
2 parents 6412712 + 5a43bff commit 15d5329
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions src/frontend/devops-repository/src/AppMixin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Vue from 'vue'
import { mapState, mapMutations } from 'vuex'
import ConfirmDialog from '@repository/components/ConfirmDialog'
import GlobalUploadViewport from '@repository/components/GlobalUploadViewport'
import Vue from 'vue'
import { mapMutations, mapState } from 'vuex'
export default {
name: 'App',
components: { ConfirmDialog, GlobalUploadViewport },
Expand Down Expand Up @@ -40,7 +40,7 @@ export default {
goHome (projectId) {
const params = projectId ? { projectId } : {}
this.$router.replace({
name: 'repoList',
name: 'repositories',
params
})
},
Expand Down
20 changes: 10 additions & 10 deletions src/frontend/devops-repository/src/views/repoGeneric/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,24 +187,24 @@
</div>
</template>
<script>
import OperationList from '@repository/components/OperationList'
import Breadcrumb from '@repository/components/Breadcrumb'
import iamDenyDialog from '@repository/components/IamDenyDialog/IamDenyDialog'
import Loading from '@repository/components/Loading/loading'
import MoveSplitBar from '@repository/components/MoveSplitBar'
import OperationList from '@repository/components/OperationList'
import RepoTree from '@repository/components/RepoTree'
import ScanTag from '@repository/views/repoScan/scanTag'
import { getIconName } from '@repository/store/publicEnum'
import { convertFileSize, debounce, formatDate } from '@repository/utils'
import { customizeDownloadFile } from '@repository/utils/downloadFile'
import metadataTag from '@repository/views/repoCommon/metadataTag'
import genericDetail from '@repository/views/repoGeneric/genericDetail'
import genericFormDialog from '@repository/views/repoGeneric/genericFormDialog'
import genericShareDialog from '@repository/views/repoGeneric/genericShareDialog'
import genericTreeDialog from '@repository/views/repoGeneric/genericTreeDialog'
import previewBasicFileDialog from './previewBasicFileDialog'
import iamDenyDialog from '@repository/components/IamDenyDialog/IamDenyDialog'
import ScanTag from '@repository/views/repoScan/scanTag'
import { mapActions, mapMutations, mapState } from 'vuex'
import compressedFileTable from './compressedFileTable'
import { convertFileSize, formatDate, debounce } from '@repository/utils'
import { customizeDownloadFile } from '@repository/utils/downloadFile'
import { getIconName } from '@repository/store/publicEnum'
import { mapState, mapMutations, mapActions } from 'vuex'
import Loading from '@repository/components/Loading/loading'
import previewBasicFileDialog from './previewBasicFileDialog'
export default {
name: 'repoGeneric',
Expand Down Expand Up @@ -310,7 +310,7 @@
// 前端隐藏report仓库/log仓库
if (MODE_CONFIG === 'ci' && (to.query.repoName === 'report' || to.query.repoName === 'log')) {
next({
name: 'repoList',
name: 'repositories',
params: {
projectId: to.params.projectId
}
Expand Down

0 comments on commit 15d5329

Please sign in to comment.