123456789101112131415161718192021222324252627282930313233343536 |
- const { config } = require('./common')
- const { apiPrefix } = config;
- let database = {
- placeholder:'请选择',
- selectedValue:'',
- options:[
- {
- "label": "选项",
- "value": "1",
- "disabled": false
- },
- {
- "label": "选项2",
- "value": "2",
- "disabled": false
- },
- {
- "label": "选项3",
- "value": "3",
- "disabled": false
- },
- {
- "label": "选项4不可选",
- "value": "4",
- "disabled": true
- },
- ]
- }
- export default {
- [`GET ${apiPrefix}/getdic`] (req, res) {
- res.status(200).json(database)
- },
- }
|