improve: 权限规则类型选择

This commit is contained in:
From-wh 2023-05-18 14:47:31 +08:00
parent e68f133cd5
commit b23d7d5a27
2 changed files with 2 additions and 8 deletions

View File

@ -12,7 +12,7 @@
@on-visible-change="visible"
>
<Form ref="formValidate" :model="formValidate" :label-width="110" @submit.native.prevent>
<!-- <Row type="flex" :gutter="24">
<Row type="flex" :gutter="24">
<Col span="24">
<FormItem label="类型:">
<RadioGroup v-model="formValidate.auth_type" @on-change="changeRadio">
@ -23,7 +23,7 @@
</RadioGroup>
</FormItem>
</Col>
</Row> -->
</Row>
<Row type="flex" :gutter="24">
<Col v-bind="grid">
<FormItem :label="!authType ? '接口名称:' : '按钮名称:'" prop="menu_name">

View File

@ -98,12 +98,6 @@ module.exports = {
config.resolve.alias.set('@api', resolve('src/api'));
// node
config.node.set('__dirname', true).set('__filename', true);
// 判断是否需要加入模拟数据
const entry = config.entry('app');
if (Setting.isMock) {
entry.add('@/mock').end();
}
config.plugin('monaco').use(new MonacoWebpackPlugin());
},
// 设为false打包时不生成.map文件