qymljy 1 anno fa
parent
commit
4f4d6025a5
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      src/template/addProduct/index.vue
  2. 1 1
      src/views/login/login.vue

+ 1 - 1
src/template/addProduct/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-button size="small" type="primary" @click="onShow" >{{$t(`title`)}}</el-button>
+    <el-button size="small" type="primary" @click="onShow" >{{$t(title)}}</el-button>
     <el-drawer
         :title="$t(`添加商品`)"
         :visible.sync="dialogFormVisible"

+ 1 - 1
src/views/login/login.vue

@@ -317,7 +317,7 @@ export default {
           sessionStorage.setItem("active_password", res.remindchangepassword);
           this.basicData.query_userauth().then(() => {
             this.basicData.querySite_Parameter();
-            let usertype = JSON.parse(sessionStorage.getItem('active_account')).usertype
+            // let usertype = JSON.parse(sessionStorage.getItem('active_account')).usertype
             // if (usertype == 1 || usertype == 0){
             //   this.$router.push('/serviceDataScreen')
             // }else {