Showing
3 changed files
with
2 additions
and
3 deletions
@@ -15,7 +15,7 @@ new Vue({ | @@ -15,7 +15,7 @@ new Vue({ | ||
15 | logisticsCompany: LogisticsCompany | 15 | logisticsCompany: LogisticsCompany |
16 | }, | 16 | }, |
17 | created() { | 17 | created() { |
18 | - bus.$on('changeView', function(obj) { | 18 | + bus.$on('changeView', obj => { |
19 | this.currentView = obj.view; | 19 | this.currentView = obj.view; |
20 | this.company_id = obj.company_id; | 20 | this.company_id = obj.company_id; |
21 | this.company_name = obj.company_name; | 21 | this.company_name = obj.company_name; |
@@ -6,6 +6,7 @@ | @@ -6,6 +6,7 @@ | ||
6 | */ | 6 | */ |
7 | 7 | ||
8 | 'use strict'; | 8 | 'use strict'; |
9 | +require('common/_vue-modal.css'); | ||
9 | const $ = require('yoho-jquery'); | 10 | const $ = require('yoho-jquery'); |
10 | const template = require('components/modal.hbs'); | 11 | const template = require('components/modal.hbs'); |
11 | const Overlay = require('./overlay'); | 12 | const Overlay = require('./overlay'); |
-
Please register or login to post a comment