sasp-flow-render 1.1.33 → 1.1.36-decoupling

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ <script>
2
+ export default {
3
+ name: "renderForm",
4
+ props:{
5
+ flowComponent:{
6
+ type: Object,
7
+ required: true},
8
+ },
9
+ render(h){
10
+ return this.flowComponent.$scopedSlots.formInfo({index:this.flowComponent.indexForm});
11
+ },
12
+ mounted() {
13
+ // console.log(this);
14
+ }
15
+ }
16
+ </script>
17
+ <style scoped>
18
+
19
+ </style>
@@ -138,10 +138,11 @@
138
138
  "label":"用户名称",
139
139
  },
140
140
  ], //用户信息
141
+ loginUser:{}
141
142
  }
142
143
  },
143
144
  created(){
144
-
145
+ this.loginUser = this.FLOW_CACHE_GLOBAL.getLoginUser() || {};
145
146
  },
146
147
  methods:{
147
148
  /**