add:前端js
This commit is contained in:
@@ -35,6 +35,8 @@ import router from './router/routers'
|
||||
import './assets/icons' // icon
|
||||
import './router/index' // permission control
|
||||
import 'echarts-gl'
|
||||
import { addDateRange, handleTree, parseTime, resetForm, selectDictLabel, selectDictLabels, flexWidth } from '@/utils/nladmin'
|
||||
import { getValueByCode } from '@/api/system/param'
|
||||
|
||||
import 'jquery'
|
||||
|
||||
@@ -55,7 +57,15 @@ Vue.use(Element, {
|
||||
})
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
// 全局方法挂载
|
||||
Vue.prototype.parseTime = parseTime
|
||||
Vue.prototype.resetForm = resetForm
|
||||
Vue.prototype.addDateRange = addDateRange
|
||||
Vue.prototype.selectDictLabel = selectDictLabel
|
||||
Vue.prototype.selectDictLabels = selectDictLabels
|
||||
Vue.prototype.handleTree = handleTree
|
||||
Vue.prototype.getValueByCode = getValueByCode
|
||||
Vue.prototype.flexWidth = flexWidth
|
||||
new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
|
||||
Reference in New Issue
Block a user