ahjwen@163.com 4 anni fa
parent
commit
4b24cd8e6f
2 ha cambiato i file con 10 aggiunte e 11 eliminazioni
  1. 1 1
      src/permission.js
  2. 9 10
      src/views/recharge/index.vue

+ 1 - 1
src/permission.js

@@ -35,7 +35,7 @@ router.beforeEach(async(to, from, next) => {
           // get user info
           // note: roles must be a object array! such as: ['admin'] or ,['developer','editor']
           const { roles } = await store.dispatch('user/getInfo')
-          console.error('# permission:', roles)
+          console.log('# permission:', roles)
 
           // generate accessible routes map based on roles
           const accessRoutes = await store.dispatch('permission/generateRoutes', roles)

+ 9 - 10
src/views/recharge/index.vue

@@ -42,17 +42,16 @@
 
         <el-divider direction="vertical" />
 
-        <el-col :span="8">
-          <el-row class="row-bg" gutter="10">
+        <el-col :span="3">
+          <el-input
+            v-model="accountHandle"
+            type="textarea"
+            placeholder="待检测账号."
+            :autosize="{ minRows: 20, maxRows: 50 }"
+          />
+          <!-- <el-row class="row-bg" gutter="10">
             <el-col :span="9">
               <span style="font-size: 5px; color: #67C23A;">贴入充值账号,一行一个账号.</span>
-              <!-- :rows="25" -->
-              <el-input
-                v-model="accountHandle"
-                type="textarea"
-                placeholder="待检测账号."
-                :autosize="{ minRows: 10, maxRows: 30 }"
-              />
             </el-col>
             <el-col :span="6" style="margin-top: 150px;">
               <el-button type="success" @click="confirmAccount">确认账号</el-button>
@@ -66,7 +65,7 @@
                 :autosize="{ minRows: 10, maxRows: 30 }"
               />
             </el-col>
-          </el-row>
+          </el-row> -->
         </el-col>
 
         <el-divider direction="vertical" />