瀏覽代碼

no message

linwenxin 7 月之前
父節點
當前提交
1bc298b009

+ 3 - 0
src/views/partsManagement/accessoryWebsite/website-parts-shop-sales-manage/website-parts-shop-sales/components/website-parts-shop-sales-information.vue

@@ -583,6 +583,9 @@ export default {
   mounted() {
     getWebsit({ type: 'C', status: true, queryPartsWebsit: true }).then(res => {
       this.websitList = res.data
+      if (res.data.length == 1) {
+        this.changeWebsit(this.websitList[0].websitId)
+      }
     })
     this.getInitInfo()
   },