Index content / bug completed, method of login checking in store/index.js added

This commit is contained in:
Vion
2022-01-22 13:29:19 +08:00
parent 60c6a6b8b4
commit debf618d7e
9 changed files with 307 additions and 275 deletions

View File

@@ -732,13 +732,20 @@ export default {
openclose() {
this.dialogInfo1 = false;
},
selectproduce() {
this.$router.push({
path: "/productdetails/producted",
query: {
stype: 1,
},
});
selectproduce(item,index){
if(item.productList[0]==undefined){
item.productlist[0].productCode=0;
}
if(item.productList[0]==undefined){
item.productlist[0]=[];
}
this.$router.push({
path: "/productdetails/producted",
query: {
stype: 1,
productCode:item.productList[0].productCode
},
});
},
ifadroind() {
var sUserAgent = navigator.userAgent.toLowerCase();