Commit a8fd56d1 authored by zhengke's avatar zhengke

修改

parent 91c18bad
......@@ -47,7 +47,7 @@
<div class="drawerTop">
<div style="display:flex;align-items:center;">
<q-avatar size="md" style="background:#d4dfff;color:#2961FE;font-weight:bold;">
{{classObj.ClassName.substring(0,1)}}
<template v-if="classObj.ClassName">{{classObj.ClassName.substring(0,1)}}</template>
</q-avatar>
<div class="className">
<div class="classFirst">{{classObj.ClassName}}</div>
......@@ -140,9 +140,16 @@
},
created() {
},
watch: {
setingObj: {
handler(newValue) {
this.queryClassInfo();
},
immediate: true
}
},
mounted() {
console.log("res", this.setingObj)
this.queryClassInfo();
},
methods: {
......@@ -150,11 +157,9 @@
getClassInfo({
ClassId: this.setingObj.ClassId
}).then(res => {
console.log("res", res);
if (res.Code == 1) {
this.classObj=res.Data;
}
})
},
closeShenheForm() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment