فهرست منبع

修正语法警告

reghao 3 ماه پیش
والد
کامیت
49e32cba3d
3فایلهای تغییر یافته به همراه4 افزوده شده و 5 حذف شده
  1. 1 1
      src/views/admin/Dashboard.vue
  2. 1 2
      src/views/devops/app/AppConfig.vue
  3. 2 2
      src/views/devops/app/BuildDeploy.vue

+ 1 - 1
src/views/admin/Dashboard.vue

@@ -153,7 +153,7 @@ export default {
     }
   },
   created() {
-    const { roles, userId, avatarUrl, username } = getAuthedUser()
+    const { roles } = getAuthedUser()
     this.roles = roles
     this.devops = parseInt(process.env.VUE_APP_DEVOPS) === 1
     document.title = 'Dashboard'

+ 1 - 2
src/views/devops/app/AppConfig.vue

@@ -142,8 +142,7 @@
       :visible.sync="showBindDomainDialog"
       center
     >
-      <template>
-      </template>
+      <template />
     </el-dialog>
     <el-dialog
       title="拷贝应用配置"

+ 2 - 2
src/views/devops/app/BuildDeploy.vue

@@ -37,7 +37,7 @@
           @clear="onClear"
           @keyup.enter.native="onSearch"
         />
-<!--        <el-button type="success" icon="el-icon-search" style="margin-left: 5px" @click="onSearch">查询</el-button>-->
+        <!--        <el-button type="success" icon="el-icon-search" style="margin-left: 5px" @click="onSearch">查询</el-button>-->
         <el-button type="text" style="margin-left: 5px" @click="onRefresh">刷新</el-button>
         <el-button type="text" style="margin-left: 5px" @click="handleBuildTask">构建任务</el-button>
         <el-button type="text" style="margin-left: 5px" @click="handleResetStat">重置状态</el-button>
@@ -429,7 +429,7 @@
       center
     >
       <template>
-        <span v-html="buildResult"/>
+        <span v-html="buildResult" />
       </template>
     </el-dialog>
     <el-dialog