|
@@ -192,7 +192,18 @@ import avator from '../../../../../assets/icon/test/teacher.jpg'
|
|
|
import "@/common/wxLogin.js";
|
|
|
|
|
|
export default {
|
|
|
- props: ["dialogVisibleInfo", "userid", "oid"],
|
|
|
+ props: {
|
|
|
+ dialogVisibleInfo: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
+ },
|
|
|
+ userid: {
|
|
|
+ type: String
|
|
|
+ },
|
|
|
+ oid: {
|
|
|
+ type: String
|
|
|
+ }
|
|
|
+ },
|
|
|
watch: {
|
|
|
dialogVisibleInfo(newVal) {
|
|
|
if (newVal) {
|
|
@@ -242,9 +253,6 @@ export default {
|
|
|
eye: require("../../../../../assets/icon/eye.png"),
|
|
|
};
|
|
|
},
|
|
|
- // mounted() {
|
|
|
- // this.getTypeInfo();
|
|
|
- // },
|
|
|
methods: {
|
|
|
cha() {
|
|
|
this.$forceUpdate();
|
|
@@ -610,6 +618,9 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.$nextTick();
|
|
|
+ this.getTypeInfo();
|
|
|
+
|
|
|
let _this = this;
|
|
|
window.addEventListener("message", function (e) {
|
|
|
// 监听 message 事件
|