feat: 补充头部下拉
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
/** @format */
|
||||
import { dateUtil } from '/nerv-lib/util/date-util';
|
||||
import mockResource from './resource.json';
|
||||
import { ref } from 'vue';
|
||||
const value = ref('1');
|
||||
|
||||
export const appConfig = {
|
||||
projectType: 'web',
|
||||
@@ -16,6 +18,21 @@ export const appConfig = {
|
||||
// },
|
||||
|
||||
// customUpdatePwd: () => import('/@/view/updatePassword/updatePassword.vue'),
|
||||
headerSlotConfig: {
|
||||
component: 'NsSelect',
|
||||
componentProps: {
|
||||
style: { width: '200px' },
|
||||
placeholder: '请选择',
|
||||
value,
|
||||
onChange: (cur) => {
|
||||
value.value = cur;
|
||||
},
|
||||
options: [
|
||||
{ label: '济阳', value: '1' },
|
||||
{ label: '临沂', value: '2' },
|
||||
],
|
||||
},
|
||||
},
|
||||
timeout: 60 * 1000,
|
||||
userLoginApi: () => {
|
||||
return {
|
||||
|
Reference in New Issue
Block a user