diff --git a/src/component/Account/frontPage.vue b/src/component/Account/frontPage.vue index c735153a..6f004078 100644 --- a/src/component/Account/frontPage.vue +++ b/src/component/Account/frontPage.vue @@ -6,7 +6,7 @@ diff --git a/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue b/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue index 107d4934..24f1dff7 100644 --- a/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue +++ b/src/component/Administrator/affiliate/affiliateAudit/affiliateAudit.vue @@ -115,6 +115,13 @@ export default defineComponent({ width: 100, dataIndex: "status", key: "status", + },{ + title: 'Visits', + align: "center", + ellipsis: true, + width: 100, + dataIndex: "visits", + key: "visits", },{ title: 'Commission Percent', align: "center", diff --git a/src/component/home/tools/poseTransfer/index.vue b/src/component/home/tools/poseTransfer/index.vue index daef4f87..2f93be4d 100644 --- a/src/component/home/tools/poseTransfer/index.vue +++ b/src/component/home/tools/poseTransfer/index.vue @@ -65,8 +65,9 @@ -
- +
+
{{ $t('ProductImg.Prompt') }}
+
@@ -338,6 +339,7 @@ export default defineComponent({ data.isGenerate = true // data.remGenerateTime = setTimeout(()=>{ // },10000) + // const promptText = dataDom.promptInput.getFullText() let value = { poseId:data.selectPose, projectId:store.state.Workspace.probjects.id, @@ -785,11 +787,7 @@ export default defineComponent({ > .configuratioBox > .configuratio{ width: 100%; padding-bottom: 1rem; - > .title{ - // font-size: 2.6rem; - } > .content{ - // margin-top: 4rem; > .selectImg,> .poses{ display: flex; flex-direction: column; @@ -799,15 +797,12 @@ export default defineComponent({ margin-top: 2rem; display: flex; flex-wrap: nowrap; - // justify-content: space-between; width: 100%; overflow: hidden; overflow-x: auto; column-gap: 2.4rem; position: relative; > .item{ - // width: calc(100% / 2 - .5rem); - // height: 25rem; width: 12.7rem; height: 17.8rem; cursor: pointer; @@ -816,9 +811,6 @@ export default defineComponent({ justify-content: center; flex-shrink: 0; position: relative; - // &.active{ - // border: 2px solid; - // } :deep(.ant-checkbox-wrapper){ position: absolute; top: 2rem; @@ -934,8 +926,15 @@ export default defineComponent({ font-size: 1.6rem; } } + } + .prompt-input-container{ + margin-top: 4rem; + } + .title{ + font-size: 1.8rem; + color: #000; + margin-bottom: 1.4rem; } - > .poses{ margin-top: 3rem; } diff --git a/src/store/userHabit/userHabit.ts b/src/store/userHabit/userHabit.ts index f6c51186..946d711a 100644 --- a/src/store/userHabit/userHabit.ts +++ b/src/store/userHabit/userHabit.ts @@ -266,7 +266,6 @@ const userHabit : Module = { // data.systemUser = 0 state.userDetail.affiliate = data.affiliate state.userDetail.systemUser = data.systemUser - // state.userDetail.systemUser = 3 // 身份列表1:可以使用aida系统,2:可以使用affiliate页面,3:系统管理员用户 state.userDetail.systemList = [] if(data.systemUser != 0)state.userDetail.systemList.push(1) diff --git a/src/store/workspace/workspace.ts b/src/store/workspace/workspace.ts index e74c9ecf..08e975d2 100644 --- a/src/store/workspace/workspace.ts +++ b/src/store/workspace/workspace.ts @@ -106,6 +106,10 @@ const Workspace: Module = { model: [] //模特 } }, + createProjectPath(state){ + state.projectPath = '' + state.cachedRoutes = [] + }, setProjectPath(state, path) { state.projectPath = path } diff --git a/src/tool/https.js b/src/tool/https.js index c74f825a..3d685414 100644 --- a/src/tool/https.js +++ b/src/tool/https.js @@ -117,6 +117,7 @@ axios.interceptors.response.use((res) =>{ message.warning('Please login and try again~') store.commit('createDetail') store.commit('createProbject') + store.commit('createProjectPath') setTimeout(()=>[ isLoginTime = false ],2000) diff --git a/src/views/HomeMain.vue b/src/views/HomeMain.vue index 1cdd34af..4f25e4e2 100644 --- a/src/views/HomeMain.vue +++ b/src/views/HomeMain.vue @@ -1232,7 +1232,7 @@ export default defineComponent({ this.$router.replace('/') this.store.commit('createDetail') this.store.commit('createProbject') - + this.store.commit('createProjectPath') // WriteCookie("token"); // window.location.reload() }, diff --git a/src/views/HomeView/history.vue b/src/views/HomeView/history.vue index a5797d9b..9cecb1af 100644 --- a/src/views/HomeView/history.vue +++ b/src/views/HomeView/history.vue @@ -452,7 +452,11 @@ export default defineComponent({ }, handleConfirmEdit({ data }) { // router.push(`/home?history=${data.id}`) - this.getHistoryList() + // if(data.id) + if(data.id === this.store.state.Workspace.probjects.id){ + this.store.commit('createProjectPath','') + } + // this.getHistoryList() }, retrieveHome(record: any) { // let num = true