合同\工单
This commit is contained in:
@@ -47,6 +47,12 @@ Vue.prototype.$genders=['男','女']
|
||||
// 保存整站vuex本地储存初始状态
|
||||
window.SITE_CONFIG['storeState'] = cloneDeep(store.state)
|
||||
|
||||
Vue.filter('findByValue', (array, value) => {
|
||||
if (!Array.isArray(array)) return ''
|
||||
const item = array.find(item => String(item.value) === String(value))
|
||||
return item ? item.label : ''
|
||||
})
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
|
||||
Reference in New Issue
Block a user