Commit 857b2a15 by 李长胜

Merge branch 'master' of http://192.168.3.233:8090/h5/account

2 parents ff6edd56 4c7271fc
......@@ -171,7 +171,7 @@
<div class="layui-form-item">
<label class="layui-form-label">驻店电话:</label>
<div class="layui-input-inline">
<input class="layui-input" name="residentPhone" placeholder="请输入驻点电话" lay-verify="phone">
<input class="layui-input" name="residentPhone" placeholder="请输入驻点电话">
</div>
</div>
<div class="layui-form-item">
......@@ -801,7 +801,7 @@
getMerchantApi(merchantId, function (res) {
form.val('merchantForm', res.data)
merchantForm = res.data
if(merchantForm.status != 1) {
if (merchantForm.status != 1) {
$('#draft').remove()
}
console.log(merchantForm)
......@@ -1322,6 +1322,7 @@
layer.msg('操作成功', {
icon: 1
})
go('merchant', 'index')
}
})
return false
......@@ -1350,6 +1351,7 @@
layer.msg('操作成功', {
icon: 1
})
go('merchant', 'index')
}
})
return false
......
......@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-07-15 15:46:53
* @LastEditors: limin
* @LastEditTime: 2021-08-09 19:15:04
* @LastEditTime: 2021-08-09 22:15:08
* @FilePath: \account\js\load.js
*/
;(function load() {
......@@ -34,16 +34,14 @@ function loadHeaderFooter() {
var store = layui.store
if(isExternal){ //运营平台外部系统
append()
}else{//嵌入运营平台
var token = store.get('token')
if(token || isLoginPage()){
}else{//嵌入运营平台 或者是登录页面
if(isLoginPage()){ //如果是登陆页面 直接返回 登录成功会设置token
return
}
var t = qs('t')
if(!t){
throw new Error('未获取到TGT,请检测')
var t = qs('t') //运营平台子系统从 父系统的iframe src获取 TGT.
if(t){
store.set('token', t)
}
store.set('token', t)
}
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!