mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-03 12:38:24 +08:00
17 lines
286 B
JavaScript
17 lines
286 B
JavaScript
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()
|