feat: 补充头部下拉

This commit is contained in:
xuziqiang
2024-05-23 17:49:25 +08:00
parent 1a7a01894d
commit 576f313b2f
4 changed files with 34 additions and 3 deletions

View File

@@ -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 {