This commit is contained in:
李志鹏
2026-04-27 13:17:45 +08:00
parent e453d1efd4
commit f77a2f2e01
3 changed files with 42 additions and 27 deletions

View File

@@ -25,8 +25,8 @@
<div class="and-profile-footer">
<template v-if="isEdit">
<div class="btns">
<button class="cancel" @click="onCancel">Cancel</button>
<button class="submit" @click="onSubmit">Save Change</button>
<button class="cancel" @click="onCancel()">Cancel</button>
<button class="submit" @click="onSubmit()">Save Change</button>
</div>
<p class="tip">Changes will be reflected on your Stylish Parade brand page.</p>
</template>
@@ -47,6 +47,7 @@
import ImageClipDialog from "./image-clip-dialog.vue"
import { useStore } from "vuex"
const store = useStore()
store.dispatch("seller/get_designerInfo")
const designerInfo = computed(() => store.state.seller.designerInfo)
const avatar = computed(() => designerInfo.value.avatar)
const banner = computed(() => designerInfo.value.brandBanner)
@@ -141,6 +142,7 @@
margin-bottom: 6rem;
> .bg {
position: relative;
min-height: 15rem;
> img {
width: 100%;
height: auto;