|
@@ -2529,7 +2529,7 @@ $(document).ready(function() {
|
|
* @param sheet
|
|
* @param sheet
|
|
*/
|
|
*/
|
|
deletePress: function (sheet) {
|
|
deletePress: function (sheet) {
|
|
- if (!sheet.zh_setting || readOnly || sheet.zh_setting.readOnly) return;
|
|
|
|
|
|
+ if (!sheet.zh_setting || sheet.zh_setting.readOnly) return;
|
|
|
|
|
|
const sortData = sheet.zh_data;
|
|
const sortData = sheet.zh_data;
|
|
const datas = [];
|
|
const datas = [];
|
|
@@ -2569,7 +2569,7 @@ $(document).ready(function() {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
delete: function (sheet) {
|
|
delete: function (sheet) {
|
|
- if (!sheet.zh_setting || readOnly || sheet.zh_setting.readOnly) return;
|
|
|
|
|
|
+ if (!sheet.zh_setting || sheet.zh_setting.readOnly) return;
|
|
|
|
|
|
const sortData = sheet.zh_data;
|
|
const sortData = sheet.zh_data;
|
|
const datas = [];
|
|
const datas = [];
|