Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
小修复
  • Loading branch information
4linuxfun committed Dec 31, 2022
commit 30ecca9b485b40d41fdfd22dd1ead9d91ae03c59
4 changes: 2 additions & 2 deletions www/src/views/system/roles/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<el-input v-model="search.name"/>
</el-form-item>
<el-form-item label="状态" prop="enable">
<auto-dict type="select" code="enable_code" v-model="search.enable" style="width: 100px"/>
<auto-dict dict-type="select" code="enable_code" v-model="search.enable" style="width: 100px"/>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="handleSearch" :icon="Search">
Expand Down Expand Up @@ -52,7 +52,7 @@

</template>
<script setup>
import {onMounted, reactive, ref, watch} from 'vue'
import {reactive, ref, watch} from 'vue'
import {Search, RefreshRight, Plus} from '@element-plus/icons-vue'
import {GetRoles, DeleteRole} from '@/api/roles'
import usePagination from '@/composables/usePagination'
Expand Down