eoss-ui 0.5.97 → 0.5.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/button-group.js +6 -2
- package/lib/button.js +6 -2
- package/lib/checkbox-group.js +6 -2
- package/lib/data-table-form.js +6 -2
- package/lib/data-table.js +28 -16
- package/lib/date-picker.js +6 -2
- package/lib/dialog.js +6 -2
- package/lib/eoss-ui.common.js +281 -209
- package/lib/flow-group.js +6 -2
- package/lib/flow-list.js +6 -2
- package/lib/flow.js +6 -2
- package/lib/form.js +6 -2
- package/lib/handle-user.js +6 -2
- package/lib/handler.js +17 -9
- package/lib/icon.js +6 -2
- package/lib/icons.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +6 -2
- package/lib/input.js +6 -2
- package/lib/login.js +9 -5
- package/lib/main.js +223 -163
- package/lib/nav.js +6 -2
- package/lib/page.js +6 -2
- package/lib/pagination.js +6 -2
- package/lib/player.js +6 -2
- package/lib/qr-code.js +6 -2
- package/lib/radio-group.js +6 -2
- package/lib/retrial-auth.js +6 -2
- package/lib/select-ganged.js +6 -2
- package/lib/select.js +6 -2
- package/lib/selector-panel.js +6 -2
- package/lib/selector.js +6 -2
- package/lib/sizer.js +6 -2
- package/lib/steps.js +6 -2
- package/lib/switch.js +6 -2
- package/lib/table-form.js +6 -2
- package/lib/tabs.js +6 -2
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +6 -2
- package/lib/tree-group.js +6 -2
- package/lib/tree.js +6 -2
- package/lib/upload.js +6 -2
- package/lib/utils/util.js +6 -2
- package/lib/wujie.js +6 -2
- package/lib/wxlogin.js +6 -2
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/data-table/src/main.vue +18 -12
- package/packages/handler/.DS_Store +0 -0
- package/packages/handler/src/main.vue +11 -6
- package/packages/icons/src/icon.json +1 -1
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +1 -1
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +19 -3
- package/packages/main/src/default/settings.vue +2 -2
- package/packages/main/src/main.vue +22 -3
- package/packages/main/src/simplicity/handler.vue +32 -28
- package/packages/main/src/simplicity/index.vue +46 -39
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/icon.scss +8 -0
- package/packages/theme-chalk/src/mixins/util.scss +0 -0
- package/packages/theme-chalk/src/simplicity.scss +160 -0
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +6 -2
package/lib/button-group.js
CHANGED
|
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2175
2175
|
next && next();
|
|
2176
2176
|
} else {
|
|
2177
2177
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2178
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2178
2179
|
ajax({
|
|
2179
2180
|
method: 'post',
|
|
2180
2181
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2273
2274
|
}
|
|
2274
2275
|
});
|
|
2275
2276
|
}
|
|
2276
|
-
|
|
2277
|
+
loadingInstance.close();
|
|
2278
|
+
}).catch(function (e) {
|
|
2279
|
+
loadingInstance.close();
|
|
2280
|
+
});
|
|
2277
2281
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2278
2282
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2279
2283
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
|
|
|
2676
2680
|
} else {
|
|
2677
2681
|
n = 1;
|
|
2678
2682
|
}
|
|
2679
|
-
if (zoom === 1) {
|
|
2683
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2680
2684
|
document.body.style.removeProperty('transform');
|
|
2681
2685
|
document.body.style.removeProperty('width');
|
|
2682
2686
|
document.body.style.removeProperty('height');
|
package/lib/button.js
CHANGED
|
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2175
2175
|
next && next();
|
|
2176
2176
|
} else {
|
|
2177
2177
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2178
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2178
2179
|
ajax({
|
|
2179
2180
|
method: 'post',
|
|
2180
2181
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2273
2274
|
}
|
|
2274
2275
|
});
|
|
2275
2276
|
}
|
|
2276
|
-
|
|
2277
|
+
loadingInstance.close();
|
|
2278
|
+
}).catch(function (e) {
|
|
2279
|
+
loadingInstance.close();
|
|
2280
|
+
});
|
|
2277
2281
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2278
2282
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2279
2283
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
|
|
|
2676
2680
|
} else {
|
|
2677
2681
|
n = 1;
|
|
2678
2682
|
}
|
|
2679
|
-
if (zoom === 1) {
|
|
2683
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2680
2684
|
document.body.style.removeProperty('transform');
|
|
2681
2685
|
document.body.style.removeProperty('width');
|
|
2682
2686
|
document.body.style.removeProperty('height');
|
package/lib/checkbox-group.js
CHANGED
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|
package/lib/data-table-form.js
CHANGED
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|
package/lib/data-table.js
CHANGED
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|
|
@@ -3962,8 +3966,8 @@ module.exports = require("vue");
|
|
|
3962
3966
|
// ESM COMPAT FLAG
|
|
3963
3967
|
__webpack_require__.r(__webpack_exports__);
|
|
3964
3968
|
|
|
3965
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=
|
|
3966
|
-
var
|
|
3969
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=260d7f48&
|
|
3970
|
+
var mainvue_type_template_id_260d7f48_render = function () {
|
|
3967
3971
|
var _vm = this
|
|
3968
3972
|
var _h = _vm.$createElement
|
|
3969
3973
|
var _c = _vm._self._c || _h
|
|
@@ -4362,10 +4366,10 @@ var mainvue_type_template_id_24d19c7c_render = function () {
|
|
|
4362
4366
|
)
|
|
4363
4367
|
}
|
|
4364
4368
|
var staticRenderFns = []
|
|
4365
|
-
|
|
4369
|
+
mainvue_type_template_id_260d7f48_render._withStripped = true
|
|
4366
4370
|
|
|
4367
4371
|
|
|
4368
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
4372
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=260d7f48&
|
|
4369
4373
|
|
|
4370
4374
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
4371
4375
|
var api = __webpack_require__(1);
|
|
@@ -6994,9 +6998,13 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
6994
6998
|
default: true
|
|
6995
6999
|
},
|
|
6996
7000
|
index: {
|
|
6997
|
-
type: [
|
|
7001
|
+
type: [Number, Function],
|
|
6998
7002
|
default: 1
|
|
6999
7003
|
},
|
|
7004
|
+
accumulated: {
|
|
7005
|
+
type: Boolean,
|
|
7006
|
+
default: true
|
|
7007
|
+
},
|
|
7000
7008
|
immediate: {
|
|
7001
7009
|
type: Boolean,
|
|
7002
7010
|
default: true
|
|
@@ -7124,14 +7132,18 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
7124
7132
|
}
|
|
7125
7133
|
if (this.numbers && !types.includes('index')) {
|
|
7126
7134
|
var index = 1;
|
|
7127
|
-
if (this.
|
|
7128
|
-
index =
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
+
if (typeof this.index === 'function') {
|
|
7136
|
+
index = this.index;
|
|
7137
|
+
} else {
|
|
7138
|
+
if (this.orders == 'desc') {
|
|
7139
|
+
index = function index(num) {
|
|
7140
|
+
return _this.config.totalCount - num;
|
|
7141
|
+
};
|
|
7142
|
+
} else if (this.accumulated) {
|
|
7143
|
+
index = (this.config.pageNum - 1) * this.config.pageSize + this.index;
|
|
7144
|
+
} else {
|
|
7145
|
+
index = this.index;
|
|
7146
|
+
}
|
|
7135
7147
|
}
|
|
7136
7148
|
thead.push({
|
|
7137
7149
|
type: 'index',
|
|
@@ -8217,7 +8229,7 @@ var pageView = util["a" /* default */].getParams('pageView');
|
|
|
8217
8229
|
|
|
8218
8230
|
var main_component = Object(componentNormalizer["a" /* default */])(
|
|
8219
8231
|
src_mainvue_type_script_lang_js_,
|
|
8220
|
-
|
|
8232
|
+
mainvue_type_template_id_260d7f48_render,
|
|
8221
8233
|
staticRenderFns,
|
|
8222
8234
|
false,
|
|
8223
8235
|
null,
|
package/lib/date-picker.js
CHANGED
|
@@ -2175,6 +2175,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2175
2175
|
next && next();
|
|
2176
2176
|
} else {
|
|
2177
2177
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2178
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2178
2179
|
ajax({
|
|
2179
2180
|
method: 'post',
|
|
2180
2181
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2273,7 +2274,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2273
2274
|
}
|
|
2274
2275
|
});
|
|
2275
2276
|
}
|
|
2276
|
-
|
|
2277
|
+
loadingInstance.close();
|
|
2278
|
+
}).catch(function (e) {
|
|
2279
|
+
loadingInstance.close();
|
|
2280
|
+
});
|
|
2277
2281
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2278
2282
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2279
2283
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2676,7 +2680,7 @@ var setScale = function setScale() {
|
|
|
2676
2680
|
} else {
|
|
2677
2681
|
n = 1;
|
|
2678
2682
|
}
|
|
2679
|
-
if (zoom === 1) {
|
|
2683
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2680
2684
|
document.body.style.removeProperty('transform');
|
|
2681
2685
|
document.body.style.removeProperty('width');
|
|
2682
2686
|
document.body.style.removeProperty('height');
|
package/lib/dialog.js
CHANGED
|
@@ -2174,6 +2174,7 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2174
2174
|
next && next();
|
|
2175
2175
|
} else {
|
|
2176
2176
|
if (!token && Object.prototype.hasOwnProperty.call(to.query, 'serverId') && Object.prototype.hasOwnProperty.call(to.query, 'authType')) {
|
|
2177
|
+
var loadingInstance = eoss_element__WEBPACK_IMPORTED_MODULE_5__["Loading"].service({ text: '页面加载中', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.65)' });
|
|
2177
2178
|
ajax({
|
|
2178
2179
|
method: 'post',
|
|
2179
2180
|
url: _config_api__WEBPACK_IMPORTED_MODULE_0__[/* authCenter */ "b"],
|
|
@@ -2272,7 +2273,10 @@ var isLogined = function isLogined(_ref8) {
|
|
|
2272
2273
|
}
|
|
2273
2274
|
});
|
|
2274
2275
|
}
|
|
2275
|
-
|
|
2276
|
+
loadingInstance.close();
|
|
2277
|
+
}).catch(function (e) {
|
|
2278
|
+
loadingInstance.close();
|
|
2279
|
+
});
|
|
2276
2280
|
} else if (token || to.path === '/' || to.path === '/404' || to.path === '/error' || typeof exclude === 'boolean' && exclude || exclude.indexOf(to.path) > -1 || exclude.indexOf(to.name) > -1 || to.path === '/login' || token && to.path === '/main') {
|
|
2277
2281
|
if (redirect && (to.path === '/main' || to.path === '/login')) {
|
|
2278
2282
|
window.location.replace(urlJoinParams({ url: '.' + to.path + '.html', param: to.query }));
|
|
@@ -2675,7 +2679,7 @@ var setScale = function setScale() {
|
|
|
2675
2679
|
} else {
|
|
2676
2680
|
n = 1;
|
|
2677
2681
|
}
|
|
2678
|
-
if (zoom === 1) {
|
|
2682
|
+
if (zoom === 1 && window.innerWidth === width) {
|
|
2679
2683
|
document.body.style.removeProperty('transform');
|
|
2680
2684
|
document.body.style.removeProperty('width');
|
|
2681
2685
|
document.body.style.removeProperty('height');
|