guhongwei 3 سال پیش
والد
کامیت
a94a8971b4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/product/index.vue

+ 1 - 1
src/views/product/index.vue

@@ -3,7 +3,7 @@
     <el-row>
       <el-col :span="24" class="main">
         <el-col :span="24" class="one">
-          <el-button type="primary" size="mini" @click="toImport()">导入数据</el-button>
+          <el-button type="primary" size="mini" @click="toImport()" v-if="user && user.code == 'JLACCFY'">导入数据</el-button>
         </el-col>
         <el-col :span="24">
           <el-tabs v-model="active" type="card">