Browse Source

解决前端由于变量确实导致的warning

main
pixel 5 years ago
parent
commit
e10e3c4dad
  1. 1
      QMPlusServer/main.go
  2. 2
      QMPlusVuePage/src/view/superAdmin/authority/authority.vue

1
QMPlusServer/main.go

@ -20,7 +20,6 @@ import (
// @BasePath /
func main() {
qmlog.InitLog() // 初始化日志
db := qmsql.InitMysql(config.GinVueAdminconfig.MysqlAdmin) // 链接初始化数据库
if config.GinVueAdminconfig.System.UseMultipoint {

2
QMPlusVuePage/src/view/superAdmin/authority/authority.vue

@ -14,7 +14,7 @@
<el-table-column label="角色id" min-width="180" prop="authorityId"></el-table-column>
<el-table-column label="角色名称" min-width="180" prop="authorityName"></el-table-column>
<el-table-column fixed="right" label="操作" width="500" :style="{ background:red , color:red}" >
<el-table-column fixed="right" label="操作" min-width="300">
<template slot-scope="scope">
<el-button @click="opdendrawer(scope.row)" size="small" type="text">设置权限</el-button>
<el-button @click="deleteAuth(scope.row)" size="small" type="text">删除角色</el-button>

Loading…
Cancel
Save