rename weichat to weixin
				
					
				
			This commit is contained in:
		
							parent
							
								
									12c0f116da
								
							
						
					
					
						commit
						baeed8d332
					
				@ -681,10 +681,10 @@ module.exports = {
 | 
				
			|||||||
      return 'firefox'
 | 
					      return 'firefox'
 | 
				
			||||||
    } else if (ua.match(/MicroMessenger/i) == 'micromessenger' && ua.match(/miniprogram/i) == 'miniprogram') {
 | 
					    } else if (ua.match(/MicroMessenger/i) == 'micromessenger' && ua.match(/miniprogram/i) == 'miniprogram') {
 | 
				
			||||||
      // 微信小程序
 | 
					      // 微信小程序
 | 
				
			||||||
      return 'wechat_mp'
 | 
					      return 'weixin_mp'
 | 
				
			||||||
    } else if (/micromessenger/.test(ua)) {
 | 
					    } else if (/micromessenger/i.test(ua)) {
 | 
				
			||||||
      // 微信公众号或微信浏览器
 | 
					      // 微信公众号或微信浏览器
 | 
				
			||||||
      return 'wechat'
 | 
					      return 'weixin'
 | 
				
			||||||
    } else if (ua.match(/alipay/i) == 'alipay' && ua.match(/miniprogram/i) == 'miniprogram') {
 | 
					    } else if (ua.match(/alipay/i) == 'alipay' && ua.match(/miniprogram/i) == 'miniprogram') {
 | 
				
			||||||
      return 'alipay_mp'
 | 
					      return 'alipay_mp'
 | 
				
			||||||
    } else if (ua.match(/alipay/i) == 'alipay') {
 | 
					    } else if (ua.match(/alipay/i) == 'alipay') {
 | 
				
			||||||
@ -755,7 +755,7 @@ module.exports = {
 | 
				
			|||||||
    option.cancelText = this.localizeText(option.cancelText || { zhCN: '取消', enUS: 'Cancel', deDE: 'Abbrechen', jaJP: 'キャンセル' })
 | 
					    option.cancelText = this.localizeText(option.cancelText || { zhCN: '取消', enUS: 'Cancel', deDE: 'Abbrechen', jaJP: 'キャンセル' })
 | 
				
			||||||
    option.confirmText = this.localizeText(
 | 
					    option.confirmText = this.localizeText(
 | 
				
			||||||
      option.confirmText ||
 | 
					      option.confirmText ||
 | 
				
			||||||
        (option.showCanel === true || option.showCancel === undefined
 | 
					        (option.showCancel === true || option.showCancel === undefined
 | 
				
			||||||
          ? { zhCN: '确认', enUS: 'Confirm', deDE: 'Bestätigen', jaJP: '確認' }
 | 
					          ? { zhCN: '确认', enUS: 'Confirm', deDE: 'Bestätigen', jaJP: '確認' }
 | 
				
			||||||
          : { zhCN: '好的', enUS: 'OK', deDE: 'Ja', jaJP: 'OK' })
 | 
					          : { zhCN: '好的', enUS: 'OK', deDE: 'Ja', jaJP: 'OK' })
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user