mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 21:17:55 +08:00
15 lines
247 B
JavaScript
15 lines
247 B
JavaScript
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()
|