vue/benchmarks/dbmon/app.js

17 lines
286 B
JavaScript
Raw Normal View History

2016-04-16 09:39:07 +08:00
Vue.config.preserveWhitespace = false
var app = new Vue({
el: '#app',
data: {
databases: []
}
})
function loadSamples() {
app.databases = Object.freeze(ENV.generateData().toArray());
Monitoring.renderRate.ping();
setTimeout(loadSamples, ENV.timeout);
}
loadSamples()