We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b80c9 commit 1ff7cfcCopy full SHA for 1ff7cfc
src/views/profile/advanced/Advanced.vue
@@ -30,7 +30,7 @@
30
</template>
31
32
<a-card :bordered="false" title="流程进度">
33
- <a-steps :current="1" progressDot>
+ <a-steps :direction="device==='mobile' && 'vertical' || 'horizontal'" :current="1" progressDot>
34
<a-step title="创建项目">
35
</a-step>
36
<a-step title="部门初审">
@@ -133,6 +133,7 @@
133
134
135
<script>
136
+ import { mapState } from 'vuex'
137
import PageLayout from '@/components/layout/PageLayout'
138
import DetailList from '@/components/tools/DetailList'
139
@@ -295,6 +296,11 @@
295
296
return statusTypeMap[type]
297
}
298
},
299
+ computed: {
300
+ ...mapState({
301
+ device: state => state.app.device,
302
+ })
303
+ },
304
305
</script>
306
0 commit comments