目录信息编辑页面增加排序的默认值

master
guoxin 1 year ago
parent bb23b0d78b
commit 45bf401db5
  1. 2
      shandan-system/src/main/resources/static/js/business/directory/dirCommon.js

@ -24,6 +24,8 @@ function openDirectoryEditLayer(data, callback, view) {
disablePermisBtn = 'disabled';
readOnly = 'readOnly';
}
data.sort = data.sort || 9999;
console.info(data);
layer.open({
type: 1,
title: view ? '目录属性' : isEdit ? '修改目录' : '新建目录',