绿满眶商城微信小程序-uniapp
zxl
2025-07-17 b303b6945a139153688e86635346a621fe0c29b3
pages/passport/entry/seller/step1.vue
@@ -179,13 +179,15 @@
</template>
<script>
import '@/components/uview-components/uview-ui';
import { applyFirst } from "@/api/entry";
import city from "@/components/m-city/m-city.vue";
import storage from "@/utils/storage.js";
import { upload } from "@/api/common.js";
import * as RegExp from "@/utils/RegExp.js";
export default {
  components: { "m-city": city },
  components: { "m-city": city},
  data() {
    return {
      storage,
@@ -313,9 +315,10 @@
  methods: {
    // 图片上传
    onUploaded(lists, key) {
      console.log("上传结果",lists);
      let images = [];
      lists.forEach((item) => {
        images.push(item.response.result);
        images.push(item.response.data.fileKey);
      });
      this.form[key] = images;
    },