From 1e07cfd8ac6c3e31e94c0ea98dcff61db51e49d1 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期一, 09 一月 2023 16:54:39 +0800 Subject: [PATCH] fix: 单选框展示 --- src/views/operate/fivepack/threepack/components/updateUser/index.vue | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/views/operate/fivepack/threepack/components/updateUser/index.vue b/src/views/operate/fivepack/threepack/components/updateUser/index.vue index 52e369a..be21408 100644 --- a/src/views/operate/fivepack/threepack/components/updateUser/index.vue +++ b/src/views/operate/fivepack/threepack/components/updateUser/index.vue @@ -222,7 +222,6 @@ onSubmit() { this.$refs.store.validate((valid) => { if (valid) { - debugger; this.store.type = this.store.type[1]; if (this.isCreated()) { addStoreInfo(this.store) @@ -243,6 +242,20 @@ this.$message({ type: "warning", message: "璇锋鏌ュ繀濉」" }); } }); + }, + + async created() { + if (this.storeInfo) { + this.$set(this, 'store', this.storeInfo); + const result = await getVideoPoint({ current: 1, size: 100 }); + this.relationVideoList = result.records; + if (this.storeInfo && this.isStorePage) { + this.store.relationVideo = this.store.videoPoint.name; + } + if (!this.isView()) { + await this.getShopTypeList(); + } + } }, isView() { @@ -301,12 +314,12 @@ <style lang="scss" scoped> .updateUser { border-radius: 1px; - background-color: #09152f; + // background-color: #09152f; main { text-align: left; padding: 0 55px; - background-color: #09152f; + background-color: #ffffff; .mainContent { display: flex; @@ -351,7 +364,7 @@ } .updateUser::v-deep .el-input__inner { - background-color: #09152f; + // background-color: #09152f; border: 1px solid #17324c; } </style> \ No newline at end of file -- Gitblit v1.8.0