@kq_npm/client3d_webgl_vue 1.6.7-beta → 1.6.9-beta

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.
@@ -178,15 +178,23 @@ const _hoisted_10 = {
178
178
 
179
179
 
180
180
 
181
- //语言
182
181
 
183
182
  const __default__ = {
184
183
  name: "Kq3dBaseterrainGallery"
185
184
  };
186
185
  /* harmony default export */ var BaseterrainGalleryvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
186
+ props: {
187
+ selectIndex: {
188
+ type: Number,
189
+ default: 2
190
+ }
191
+ },
192
+
187
193
  setup(__props, {
188
194
  expose
189
195
  }) {
196
+ const props = __props; //语言
197
+
190
198
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); //地形选中值
191
199
 
192
200
  let currentIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(2);
@@ -194,6 +202,7 @@ const __default__ = {
194
202
 
195
203
  let viewModel = null;
196
204
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
205
+ currentIndex.value = props.selectIndex;
197
206
  gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
198
207
  if (scenceView) {
199
208
  language.value = scenceView._language;
package/index.js CHANGED
@@ -2824,6 +2824,7 @@ const _hoisted_4 = {
2824
2824
 
2825
2825
 
2826
2826
 
2827
+
2827
2828
  const __default__ = {
2828
2829
  name: "KqScenceView"
2829
2830
  };
@@ -2872,6 +2873,11 @@ const __default__ = {
2872
2873
  expose
2873
2874
  }) {
2874
2875
  const props = __props;
2876
+ (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeMount)(() => {
2877
+ if (!(0,util_namespaceObject.checkAuditTime)()) {
2878
+ window.location.href = "./404.html";
2879
+ }
2880
+ });
2875
2881
  const {
2876
2882
  proxy
2877
2883
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.getCurrentInstance)();
@@ -3696,15 +3702,23 @@ const _hoisted_10 = {
3696
3702
 
3697
3703
 
3698
3704
 
3699
- //语言
3700
3705
 
3701
3706
  const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
3702
3707
  name: "Kq3dBaseterrainGallery"
3703
3708
  };
3704
3709
  /* harmony default export */ var BaseterrainGalleryvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(BaseterrainGalleryvue_type_script_setup_true_lang_js_default_, {
3710
+ props: {
3711
+ selectIndex: {
3712
+ type: Number,
3713
+ default: 2
3714
+ }
3715
+ },
3716
+
3705
3717
  setup(__props, {
3706
3718
  expose
3707
3719
  }) {
3720
+ const props = __props; //语言
3721
+
3708
3722
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); //地形选中值
3709
3723
 
3710
3724
  let currentIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(2);
@@ -3712,6 +3726,7 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
3712
3726
 
3713
3727
  let viewModel = null;
3714
3728
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
3729
+ currentIndex.value = props.selectIndex;
3715
3730
  gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
3716
3731
  if (scenceView) {
3717
3732
  language.value = scenceView._language;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"1.6.7-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"^9.2.0-beta.36","xlsx":"^0.18.5","css-vars-ponyfill":"^2.4.8","xe-utils":"^3.5.4"}}
1
+ {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"1.6.9-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"^9.2.0-beta.36","xlsx":"^0.18.5","css-vars-ponyfill":"^2.4.8","xe-utils":"^3.5.4"}}
@@ -2349,6 +2349,7 @@ const _hoisted_4 = {
2349
2349
 
2350
2350
 
2351
2351
 
2352
+
2352
2353
  const __default__ = {
2353
2354
  name: "KqScenceView"
2354
2355
  };
@@ -2397,6 +2398,11 @@ const __default__ = {
2397
2398
  expose
2398
2399
  }) {
2399
2400
  const props = __props;
2401
+ (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeMount)(() => {
2402
+ if (!(0,util_namespaceObject.checkAuditTime)()) {
2403
+ window.location.href = "./404.html";
2404
+ }
2405
+ });
2400
2406
  const {
2401
2407
  proxy
2402
2408
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.getCurrentInstance)();