修复自助服务头像回显问题
This commit is contained in:
parent
3fd776b750
commit
60cf660a05
@ -14,7 +14,7 @@
|
||||
<view class="teacher-avatar">
|
||||
<image
|
||||
class="avatar-image"
|
||||
:src="js.headPic || '/static/base/default-avatar.png'"
|
||||
:src="jsTx || '/static/base/default-avatar.png'"
|
||||
mode="aspectFill"
|
||||
></image>
|
||||
</view>
|
||||
@ -97,6 +97,8 @@ import { set } from "lodash";
|
||||
import { reactive, ref } from "vue";
|
||||
const { logout, getUser, getJs, setJs } = useUserStore();
|
||||
|
||||
const jsTx = computed(() => imagUrl(getUser.profilePhoto));
|
||||
|
||||
const js = computed(() => getJs);
|
||||
// 教师工作信息
|
||||
const jsWork = ref<any>({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user