新增替换功能,快速增加餐类菜品
This commit is contained in:
@ -68,7 +68,7 @@ export default {
|
||||
this.updateChart(this.data.length > 0 ? this.data : {});
|
||||
},
|
||||
updateChart(source) {
|
||||
console.log(this.max);
|
||||
// console.log(this.max);
|
||||
this.chart.clear();
|
||||
this.chart.setOption({
|
||||
title: {
|
||||
@ -141,10 +141,10 @@ export default {
|
||||
x: 0,
|
||||
},
|
||||
markLine: {
|
||||
data: [{ name: "BMR", yAxis: this.max - 400 }],
|
||||
data: [{ name: "BMR", yAxis: this.max ? this.max - 400 : 0 }],
|
||||
symbol: "none",
|
||||
lineStyle: {
|
||||
color: "red",
|
||||
color: "#d96969",
|
||||
},
|
||||
},
|
||||
itemStyle: {
|
||||
|
@ -87,7 +87,7 @@ export default {
|
||||
return obj;
|
||||
}, {}),
|
||||
}));
|
||||
console.log(mData);
|
||||
// console.log(mData);
|
||||
return mData;
|
||||
},
|
||||
},
|
||||
|
@ -26,7 +26,6 @@
|
||||
slot="reference"
|
||||
size="mini"
|
||||
v-if="reviewStatus"
|
||||
@click="handleReview"
|
||||
:type="reviewStatus === 1 ? 'danger' : 'success'"
|
||||
>
|
||||
{{ reviewStatus === 1 ? "未审核" : "已审核" }}
|
||||
|
Reference in New Issue
Block a user