Commit 1a311703 authored by 郭志伟's avatar 郭志伟

chore(ctrius-ui): 更新业务库

parent 3b1aa18e
...@@ -7,6 +7,7 @@ import { release } from '@/.sentryclirc'; ...@@ -7,6 +7,7 @@ import { release } from '@/.sentryclirc';
import '@/service/qg.service'; import '@/service/qg.service';
import SaDirective from '@qg/citrus-ui/src/helper/directives/saTrack.directive.js'; import SaDirective from '@qg/citrus-ui/src/helper/directives/saTrack.directive.js';
import config from '@qg/citrus-ui/src/config/index.js'; import config from '@qg/citrus-ui/src/config/index.js';
import lazyload from '@qg/cherry-ui/src/lazyload/index';
// 初始化sentry // 初始化sentry
if (process.env.SENTRY_ENV !== 'test' && process.env.NODE_ENV === 'production') { if (process.env.SENTRY_ENV !== 'test' && process.env.NODE_ENV === 'production') {
...@@ -28,6 +29,7 @@ if (EASY_ENV_IS_BROWSER) { ...@@ -28,6 +29,7 @@ if (EASY_ENV_IS_BROWSER) {
const saDirective = new SaDirective(); const saDirective = new SaDirective();
Vue.directive('track', saDirective.directive); Vue.directive('track', saDirective.directive);
} }
Vue.use(lazyload);
@Component({ @Component({
name: 'Layout' name: 'Layout'
}) })
......
...@@ -6,8 +6,7 @@ import GridItem from '../../component/VueGridLayout/GridItem.vue'; ...@@ -6,8 +6,7 @@ import GridItem from '../../component/VueGridLayout/GridItem.vue';
import TransformStyleMixin from '@/page/mixins/transformStyle.mixin'; import TransformStyleMixin from '@/page/mixins/transformStyle.mixin';
import SaMixin from '@/page/mixins/sa.mixin'; import SaMixin from '@/page/mixins/sa.mixin';
import { getStyle, debounce } from '@/service/utils.service'; import { getStyle, debounce } from '@/service/utils.service';
import lazyload from '@qg/cherry-ui/src/lazyload/index';
Vue.use(lazyload);
@Component({ components: { FreedomContainer, GridLayout, GridItem }, name: 'Activity'}) @Component({ components: { FreedomContainer, GridLayout, GridItem }, name: 'Activity'})
export default class Activity extends Mixins(TransformStyleMixin, SaMixin) { export default class Activity extends Mixins(TransformStyleMixin, SaMixin) {
@Getter('pageData') pageData; @Getter('pageData') pageData;
......
...@@ -1599,9 +1599,9 @@ ...@@ -1599,9 +1599,9 @@
"integrity": "sha512-VZMYa7+fXHdwIq1TDhSXoVmSPEGM/aa+6Aiq3nVVJ9bXr24zScr+NlKFKC3iPljA7ho/GAZr+d2jOf5GIRC30Q==" "integrity": "sha512-VZMYa7+fXHdwIq1TDhSXoVmSPEGM/aa+6Aiq3nVVJ9bXr24zScr+NlKFKC3iPljA7ho/GAZr+d2jOf5GIRC30Q=="
}, },
"@qg/cherry-ui": { "@qg/cherry-ui": {
"version": "2.20.13", "version": "2.20.14",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-2.20.13.tgz", "resolved": "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-2.20.14.tgz",
"integrity": "sha512-MPBtzLf+/Gc9Eh+5SrTRfwR873DegZ9fch0aUru7gZzujEY2vTS1NGTxWEMySU6LunI/0VclP6oQd2dNaIQqkg==", "integrity": "sha512-d+NpMjSof9+QGUAsl/T4lSI1tIqkEiqLtz2zbCBqObaQq06lYrm4ujbNiqC2/O+DqujtalNU69kTNNCdsUeb1Q==",
"requires": { "requires": {
"@popperjs/core": "^2.5.4", "@popperjs/core": "^2.5.4",
"vue-lazyload": "^1.3.3", "vue-lazyload": "^1.3.3",
...@@ -1609,12 +1609,12 @@ ...@@ -1609,12 +1609,12 @@
} }
}, },
"@qg/citrus-ui": { "@qg/citrus-ui": {
"version": "0.0.82", "version": "0.0.83",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.0.82.tgz", "resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.0.83.tgz",
"integrity": "sha512-uj9nowhGHF3j4UUk1P4UPNQP5MZLBR8W2HayNcziEsGibOLKQJdL+qY3fhBixmFsmznz47Z8JAE0wd8KCEuXvg==", "integrity": "sha512-kfvOE55JiLS2gn/As8M6VRNKMD7S4+HsZLtNYy/5TT1dKCV72xGdvmn7KTleGAfGQX8GWIeEdoy5/v8HKSVzcQ==",
"requires": { "requires": {
"@better-scroll/core": "^2.1.1", "@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.20.13", "@qg/cherry-ui": "^2.20.14",
"@qg/js-bridge": "^1.1.9", "@qg/js-bridge": "^1.1.9",
"axios": "^0.21.1", "axios": "^0.21.1",
"intersection-observer": "^0.12.0", "intersection-observer": "^0.12.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment