Browse Source

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

pixel 5 years ago
parent
commit
e10e3c4dad
2 changed files with 1 additions and 2 deletions
  1. 0 1
      QMPlusServer/main.go
  2. 1 1
      QMPlusVuePage/src/view/superAdmin/authority/authority.vue

+ 0 - 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 {

+ 1 - 1
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>