产品一张表luckysheet前端代码库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.0 KiB

5 years ago
const Store = {
5 years ago
container: null,
luckysheetfile: null,
defaultcolumnNum: 60,
defaultrowNum: 84,
fullscreenmode: true,
devicePixelRatio: 1,
currentSheetIndex: 0,
5 years ago
flowdata: [],
config: {},
5 years ago
5 years ago
visibledatarow: [],
5 years ago
visibledatacolumn: [],
ch_width: 0,
rh_height: 0,
toolbarHeight: 35,
infobarHeight: 30,
calculatebarHeight: 30,
rowHeaderWidth: 46,
columeHeaderHeight: 20,
cellMainSrollBarSize: 12,
sheetBarHeight: 27,
statisticBarHeight: 23,
luckysheetTableContentHW: [0, 0],
defaultcollen: 73,
defaultrowlen: 19,
5 years ago
luckysheet_select_save: [{ "row": [0, 0], "column": [0, 0] }],
5 years ago
countfuncTimeout: null,
autoscrollTimeout: null,
5 years ago
}
// TODO:class store
// const _store = {
// visibledatarow: []
// }
// class Store{
// constructor(){
// }
// addVisibledatarow(value){
// _store.visibledatarow.push(value);
// }
// getVisibledatarow(){
// return _store.visibledatarow;
// }
// }
export default Store;