微信登录问卷表单
This commit is contained in:
@@ -14,7 +14,7 @@ const store = new Vuex.Store({
|
||||
openUser: {},
|
||||
dicts: [],
|
||||
user: {},
|
||||
config:{}
|
||||
config: {}
|
||||
},
|
||||
mutations: {
|
||||
login(state, token) {
|
||||
@@ -162,7 +162,7 @@ const store = new Vuex.Store({
|
||||
actions: {
|
||||
getToken(state, params) {
|
||||
const encryptByDES = password => {
|
||||
let isIos = wx.getSystemInfoSync().system.toUpperCase === 'ios'
|
||||
let isIos = uni.getSystemInfoSync().system.toUpperCase == 'ios'
|
||||
let key = "thanks,villcloud"
|
||||
let iv = CryptoJS.enc.Latin1.parse(key)
|
||||
let encrypted = CryptoJS.AES.encrypt(password, iv, {
|
||||
@@ -322,7 +322,7 @@ const store = new Vuex.Store({
|
||||
}, 500)
|
||||
})
|
||||
},
|
||||
selectEnterpriseContact(state,params) {
|
||||
selectEnterpriseContact(state, params) {
|
||||
return new Promise(resolve => {
|
||||
state.dispatch("injectJWeixin", "selectEnterpriseContact").then(() => {
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user