소스 검색

开放微信校验

cyy 1 년 전
부모
커밋
633ac9d051
2개의 변경된 파일과 3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/platform/bpmn/satisfactionV2/components/edit.vue
  2. 2 2
      src/views/platform/bpmn/satisfactionV2/index.vue

+ 1 - 1
src/views/platform/bpmn/satisfactionV2/components/edit.vue

@@ -148,7 +148,7 @@ export default {
         this.sumbitSubList.forEach((e, i) => {
           // eslint-disable-next-line no-undef
           obj[i] = structuredClone(e)
-          obj[i].xuanXiang = Object.keys(e.xuanXiang).length > 0 ? '' : JSON.stringify(e.xuanXiang)
+          obj[i].xuanXiang = Object.keys(e.xuanXiang).length <= 0 ? '' : JSON.stringify(e.xuanXiang)
         })
         this.sumbitMaster.satisfactionDetailPoList = obj
         this.sumbitMaster.tiJiaoShiJian = this.$common.getDateNow(16)

+ 2 - 2
src/views/platform/bpmn/satisfactionV2/index.vue

@@ -72,8 +72,8 @@ export default {
   methods: {
     isWeChatBrowser() {
       const userAgent = window.navigator.userAgent.toLowerCase()
-      // return !!userAgent.match(/micromessenger/i)
-      return true
+      return !!userAgent.match(/micromessenger/i)
+      // return true
     },
     ObjTypeNumEmit(val) {
       this.ObjTypeNum = val