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