1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| <template>
| <view class="action-user-row-compontent">操作人:{{userName}}</view>
| </template>
|
| <script>
| export default {
| name:'actionUserRowCompontent',
| data(){
| return {
| userName:''
| }
| },
| created() {
| let _user = this.$store.getters['user/getUserInfo'];
| this.userName = _user.name;
| }
| }
| </script>
|
| <style scoped lang="scss">
| .action-user-row-compontent{
| text-align: right;
| padding:8rpx 20rpx;
| position: absolute;
| box-sizing: border-box;
| width: 100%;
| top: 0;
| left: 0;
| z-index: 1;
| }
| </style>
|
|