Commit 86f1f1a2 by 前端

页面添加loading

1 parent 975f034a
...@@ -1923,7 +1923,9 @@ function uniqueNodes(nodes) { ...@@ -1923,7 +1923,9 @@ function uniqueNodes(nodes) {
// 获取商户信息 // 获取商户信息
function getMerchantInfo() { function getMerchantInfo() {
var loadingDetailIndex = layer.load(1, {shade: [0.5, '#fff']}); // shade属性是可选的
getMerchantApi(merchantId, function (res) { getMerchantApi(merchantId, function (res) {
layer.close(loadingDetailIndex);
form.val('merchantForm', res.data) form.val('merchantForm', res.data)
merchantForm = res.data merchantForm = res.data
if (!isFactory) { if (!isFactory) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!