luobisheng
2022-11-25 dfad5868528f14df5d341611922624962cd1fb2d
src/views/operate/fivepack/threepack/components/updateUser/index.vue
@@ -98,6 +98,7 @@
        }
    },
    async created() {
      if (this.storeInfo) {
      this.$set(this, 'store', this.storeInfo);
      const result = await getVideoPoint({ current: 1, size: 1 });
      this.relationVideoList = result.records;
@@ -107,14 +108,15 @@
      if (!this.isView()) {
          await this.getShopTypeList();
        }
      }
    },
    methods: {
      onSubmit() {
        this.$refs.store.validate(valid => {
          if (valid) {
            if (this.isCreated()) {
              this.store.type = this.store.type[1];
            if (this.isCreated()) {
              addStoreInfo(this.store)
                  .then(() => {
                    this.$message({ type: 'success', message: '操作成功' });