refactor: ♻️ eslint 代码规范调整
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
<el-card shadow="never" class="table-container">
|
||||
<template #header>
|
||||
<el-button
|
||||
type="success"
|
||||
v-hasPerm="['sys:config:add']"
|
||||
type="success"
|
||||
@click="handleOpenDialog()"
|
||||
>
|
||||
<template #icon>
|
||||
@@ -41,8 +41,8 @@
|
||||
新增
|
||||
</el-button>
|
||||
<el-button
|
||||
color="#626aef"
|
||||
v-hasPerm="['sys:config:refresh']"
|
||||
color="#626aef"
|
||||
@click="handleRefreshCache"
|
||||
>
|
||||
<el-icon><RefreshLeft /></el-icon>
|
||||
@@ -85,10 +85,10 @@
|
||||
<el-table-column fixed="right" label="操作" width="220">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-hasPerm="['sys:config:update']"
|
||||
type="primary"
|
||||
size="small"
|
||||
link
|
||||
v-hasPerm="['sys:config:update']"
|
||||
@click="handleOpenDialog(scope.row.id)"
|
||||
>
|
||||
<template #icon>
|
||||
@@ -97,10 +97,10 @@
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
v-hasPerm="['sys:config:delete']"
|
||||
type="danger"
|
||||
size="small"
|
||||
link
|
||||
v-hasPerm="['sys:config:delete']"
|
||||
@click="handleDelete(scope.row.id)"
|
||||
>
|
||||
<template #icon>
|
||||
|
||||
Reference in New Issue
Block a user