odc.xiaohui
2023-02-09 085fa2fb257e9f11f8f6d34bf12e2dc281c36b4d
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>