Browse Source

no longer need track-by in dbmon

dev
Evan You 9 years ago
parent
commit
be51320ca8
  1. 4
      benchmarks/dbmon/index.html

4
benchmarks/dbmon/index.html

@ -13,12 +13,12 @@
<div id="app"> <div id="app">
<table class="table table-striped lastest-data"> <table class="table table-striped lastest-data">
<tbody> <tbody>
<tr v-for="db in databases" track-by="$index"> <tr v-for="db in databases">
<td class="dbname">{{db.dbname}}</td> <td class="dbname">{{db.dbname}}</td>
<td class="query-count"> <td class="query-count">
<span :class="db.lastSample.countClassName">{{db.lastSample.nbQueries}}</span> <span :class="db.lastSample.countClassName">{{db.lastSample.nbQueries}}</span>
</td> </td>
<td v-for="q in db.lastSample.topFiveQueries" track-by="$index" :class="'Query ' + q.elapsedClassName"> <td v-for="q in db.lastSample.topFiveQueries" :class="'Query ' + q.elapsedClassName">
{{q.formatElapsed}} {{q.formatElapsed}}
<div class="popover left"> <div class="popover left">
<div class="popover-content">{{q.query}}</div> <div class="popover-content">{{q.query}}</div>

Loading…
Cancel
Save