fix: 处理商家端后台的问题

This commit is contained in:
lzhizhao 2025-06-23 09:14:31 +08:00
parent a3a1c08527
commit 03bc91f984
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div style="height: calc(100vh - 200px)"> <div style="height: calc(100vh - 200px);overflow: auto;">
<div class="brandPage"> <div class="brandPage">
<span class="pattern"></span> <span class="pattern"></span>
品牌管理 品牌管理

View File

@ -116,6 +116,12 @@ export default {
console.log(this.form); console.log(this.form);
this.form.openDis = this.form.openDis ? 1 : 0 this.form.openDis = this.form.openDis ? 1 : 0
this.proportion = []; this.proportion = [];
if (!row.minSharingRate) {
row.minSharingRate = 1
}
if (!row.maxSharingRate) {
row.maxSharingRate = 5
}
for (let i = row.minSharingRate; i <= row.maxSharingRate; i++) { for (let i = row.minSharingRate; i <= row.maxSharingRate; i++) {
this.proportion.push(i); this.proportion.push(i);
} }