main #6

Merged
charles merged 24 commits from main into prod 2025-08-12 19:58:39 +08:00
2 changed files with 7 additions and 4 deletions
Showing only changes of commit f55e8e9f20 - Show all commits

View File

@ -118,9 +118,12 @@ export default Vue.extend({
init_product_list() {
reqPublishProductSearchFirstPage({ url_link: window.location.href }).then(res => {
if (res.status) {
this.currentHotMenu = res.data[0].id
this.hotProductList = res.data[0].product_list
this.product = res.data
if(res.data.length > 0){
this.currentHotMenu = res.data[0].id
this.hotProductList = res.data[0].product_list
this.product = res.data
}
}
})
},

View File

@ -95,7 +95,7 @@
<el-input v-model="form.data_disk" placeholder="请输入数据盘规格"></el-input>
</el-form-item>
<el-form-item label="网卡" prop="net_card" required class="form-item-half">
<el-form-item label="网卡" class="form-item-half">
<el-input v-model="form.net_card" placeholder="请输入网卡规格"></el-input>
</el-form-item>
</div>