Skip to content

Commit 1ff7cfc

Browse files
committed
updated mobile style
1 parent 37b80c9 commit 1ff7cfc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/views/profile/advanced/Advanced.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</template>
3131

3232
<a-card :bordered="false" title="流程进度">
33-
<a-steps :current="1" progressDot>
33+
<a-steps :direction="device==='mobile' && 'vertical' || 'horizontal'" :current="1" progressDot>
3434
<a-step title="创建项目">
3535
</a-step>
3636
<a-step title="部门初审">
@@ -133,6 +133,7 @@
133133
</template>
134134

135135
<script>
136+
import { mapState } from 'vuex'
136137
import PageLayout from '@/components/layout/PageLayout'
137138
import DetailList from '@/components/tools/DetailList'
138139
@@ -295,6 +296,11 @@
295296
return statusTypeMap[type]
296297
}
297298
},
299+
computed: {
300+
...mapState({
301+
device: state => state.app.device,
302+
})
303+
},
298304
}
299305
</script>
300306

0 commit comments

Comments
 (0)