BUG 25119
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div :type="type" :openid="openid" v-text="openid"/>
|
||||
<div :type="type" :openid="oid" v-text="oid"/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -8,6 +8,14 @@ import {mapActions} from "vuex";
|
||||
export default {
|
||||
name: "AiOpenData",
|
||||
props: ['type', 'openid'],
|
||||
computed: {
|
||||
oid() {
|
||||
/**
|
||||
* 后端返回格式(cropId|userId)
|
||||
*/
|
||||
return this.openid?.split("|")?.[1] || this.openid || ""
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['injectJWeixin'])
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user