Commit 939baad4 authored by 黄奎's avatar 黄奎

11

parent b9e0a126
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div style="margin-left: 20px;"> <div style="margin-left: 20px;">
<el-tag size="small" effect="dark" <el-tag size="small" effect="dark"
style="margin-right: 5px;cursor: pointer;" style="margin-right: 5px;cursor: pointer;"
:type="Current==item.ID?'danger':'info'" v-for="(item,index) in types" :type="Current==item.ID?'danger':'info'" v-for="(item,index) in types" :key="item.ID"
@click="Current=item.ID,BranchChart()">{{item.Name}}</el-tag> @click="Current=item.ID,BranchChart()">{{item.Name}}</el-tag>
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div style="margin-left: 20px;"> <div style="margin-left: 20px;">
<el-tag size="small" effect="dark" <el-tag size="small" effect="dark"
style="margin-right: 5px;cursor: pointer;" style="margin-right: 5px;cursor: pointer;"
:type="Current==item.ID?'danger':'info'" v-for="(item,index) in types" :type="Current==item.ID?'danger':'info'" v-for="(item,index) in types" :key="item.ID"
@click="Current=item.ID,LineChart()">{{item.Name}}</el-tag> @click="Current=item.ID,LineChart()">{{item.Name}}</el-tag>
</div> </div>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<div style="margin-left: 20px;"> <div style="margin-left: 20px;">
<el-tag size="small" effect="dark" <el-tag size="small" effect="dark"
style="margin-right: 5px;cursor: pointer;" style="margin-right: 5px;cursor: pointer;"
:type="costCurrent==item.ID?'danger':'info'" v-for="(item,index) in costTypes" :type="costCurrent==item.ID?'danger':'info'" v-for="(item,index) in costTypes" :key="item.ID"
@click="costCurrent=item.ID,CostChart()">{{item.Name}}</el-tag> @click="costCurrent=item.ID,CostChart()">{{item.Name}}</el-tag>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment