diff --git a/QMPlusServer/static/config/config.json b/QMPlusServer/static/config/config.json index 0d24fc8b7414a3b9c3dba27cf3e0204a26095d1b..c0b076221972c28c67bee337bd873802751b2767 100644 --- a/QMPlusServer/static/config/config.json +++ b/QMPlusServer/static/config/config.json @@ -1,29 +1,29 @@ { - "casbinconfig": { - "modelPath": "./static/rbacmodel/rbac_model.conf" - }, - "jwt": { - "signingKey": "qmPlus" - }, - "mysqladmin": { - "username": "root", - "password": "Aa@6447985", - "path": "127.0.0.1:3306", - "dbname": "yx", - "config": "charset=utf8\u0026parseTime=True\u0026loc=Local" - }, - "qiniu": { - "accessKey": "25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ", - "secretKey": "pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY" - }, - "redisadmin": { - "addr": "127.0.0.1:6379", - "password": "", - "db": 0 - }, - "system": { - "useMultipoint": false, - "env": "develop", - "addr": 8888 - } + "casbinconfig": { + "modelPath": "./static/rbacmodel/rbac_model.conf" + }, + "jwt": { + "signingKey": "qmPlus" + }, + "mysqladmin": { + "username": "root", + "password": "Aa@6447985", + "path": "127.0.0.1:3306", + "dbname": "qmplus", + "config": "charset=utf8\u0026parseTime=True\u0026loc=Local" + }, + "qiniu": { + "accessKey": "25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ", + "secretKey": "pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY" + }, + "redisadmin": { + "addr": "127.0.0.1:6379", + "password": "", + "db": 0 + }, + "system": { + "useMultipoint": false, + "env": "develop", + "addr": 8888 + } } \ No newline at end of file diff --git a/QMPlusVuePage/src/view/superAdmin/api/api.vue b/QMPlusVuePage/src/view/superAdmin/api/api.vue index 4a86e0b8cefdf268dc45994351870faec70d37ab..0edbe3bffc067c1c6db408e541dd208c5720df8d 100644 --- a/QMPlusVuePage/src/view/superAdmin/api/api.vue +++ b/QMPlusVuePage/src/view/superAdmin/api/api.vue @@ -87,7 +87,7 @@ import { } from '@/api/api' import infoList from '@/components/mixins/infoList' -const methodOptions =[ +const methodOptions = [ { value: 'POST', label: '创建' @@ -220,7 +220,7 @@ export default { filters:{ methodFiletr(value){ const target = methodOptions.filter(item=>item.value === value)[0] - return `${target.label}(${target.value})` + return target && `${target.label}(${target.value})` } } }