修改权限

master
夜笙歌 2 years ago
parent 480f4ff460
commit be3e1a2983

@ -90,7 +90,7 @@
plain
icon="Plus"
@click="handleAdd"
v-hasPermi="['basetyre:basetyre:add']"
v-hasPermi="['basetyre:tyre:add']"
>{{ t('option.add') }}
</el-button>
</el-col>
@ -101,7 +101,7 @@
icon="Delete"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['basetyre:basetyre:remove']"
v-hasPermi="['basetyre:tyre:remove']"
>{{ t('option.remove') }}
</el-button>
</el-col>
@ -111,7 +111,7 @@
plain
icon="Upload"
@click="handleImport"
v-hasPermi="['system:user:import']"
v-hasPermi="['basetyre:tyre:import']"
>导入</el-button>
</el-col>
<el-col :span="1.5">
@ -120,7 +120,7 @@
plain
icon="Download"
@click="handleExport"
v-hasPermi="['basetyre:basetyre:export']"
v-hasPermi="['basetyre:tyre:export']"
>{{ t('option.export') }}
</el-button>
</el-col>
@ -148,7 +148,7 @@
type="text"
icon="Edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['basetyre:basetyre:edit']"
v-hasPermi="['basetyre:tyre:edit']"
>{{ t('option.edit') }}
</el-button>
</template>

@ -63,7 +63,7 @@
plain
icon="Download"
@click="handleExport"
v-hasPermi="['basetyre:basetyre:export']"
v-hasPermi="['basetyre:tyre:export']"
>{{ t('option.export') }}
</el-button>
</el-col>

@ -31,8 +31,8 @@ export default defineConfig(({mode, command}) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
target: 'http://10.11.41.249:8080',
// target: 'http://localhost:8080',
// target: 'http://10.11.41.249:8080',
target: 'http://localhost:8080',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
}

Loading…
Cancel
Save