|
@@ -77,6 +77,7 @@ import { getShopInfo } from "@/utils/auth";
|
|
|
import { consoleIndex } from "@/api/workbench";
|
|
import { consoleIndex } from "@/api/workbench";
|
|
|
import NotLogin from "@/components/not-login";
|
|
import NotLogin from "@/components/not-login";
|
|
|
import autoUpdateMixins from "@/mixins/autoUpdate";
|
|
import autoUpdateMixins from "@/mixins/autoUpdate";
|
|
|
|
|
+import { CURRENT_ENV } from '@/config'
|
|
|
export default {
|
|
export default {
|
|
|
name: "workbench",
|
|
name: "workbench",
|
|
|
components: { NotLogin },
|
|
components: { NotLogin },
|
|
@@ -154,6 +155,10 @@ export default {
|
|
|
// #endif
|
|
// #endif
|
|
|
// #ifdef APP-PLUS
|
|
// #ifdef APP-PLUS
|
|
|
let that = this
|
|
let that = this
|
|
|
|
|
+ if(CURRENT_ENV == 'dev'){
|
|
|
|
|
+ that.$msg("开发环境不允许跳转")
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
if(plus.runtime.isApplicationExist({pname:'com.tencent.mm',action:'weixin://'})){
|
|
if(plus.runtime.isApplicationExist({pname:'com.tencent.mm',action:'weixin://'})){
|
|
|
plus.share.getServices(function(s){
|
|
plus.share.getServices(function(s){
|
|
|
var sweixin
|
|
var sweixin
|