flat: cityId 合并
This commit is contained in:
11
src/main.js
11
src/main.js
@@ -18,6 +18,7 @@ import App from './App';
|
||||
import basicBlock from './components/basic-block/main'
|
||||
import basicContainer from './components/basic-container/main'
|
||||
import cityCascader from './components/city-cascader/main'
|
||||
import cityLabelCascader from './components/city-cascader/label'
|
||||
import goBack from './components/go-back/main'
|
||||
import tagSelect from './components/tag-select/main'
|
||||
import tooltip from './components/tooltip/index'
|
||||
@@ -39,8 +40,9 @@ Vue.component('basicContainer', basicContainer);
|
||||
Vue.component('basicBlock', basicBlock);
|
||||
Vue.component('jl-go-back', goBack);
|
||||
Vue.component('jl-city-cascader', cityCascader);
|
||||
Vue.component('tag-select',tagSelect)
|
||||
Vue.component('tool-tip',tooltip)
|
||||
Vue.component('jl-cityLabel-cascader', cityLabelCascader);
|
||||
Vue.component('tag-select', tagSelect)
|
||||
Vue.component('tool-tip', tooltip)
|
||||
// 加载相关url地址
|
||||
Object.keys(urls).forEach(key => {
|
||||
Vue.prototype[key] = urls[key];
|
||||
@@ -52,10 +54,11 @@ Vue.prototype.website = website;
|
||||
// loadStyle(iconfontUrl.replace('$key', ele));
|
||||
// });
|
||||
// 睡眠函数
|
||||
function sleep (time) {
|
||||
function sleep(time) {
|
||||
return new Promise((resolve) => setTimeout(resolve, time))
|
||||
}
|
||||
Vue.prototype.$api = { sleep }
|
||||
|
||||
Vue.prototype.$api = {sleep}
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
new Vue({router, store, i18n, render: h => h(App)}).$mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user