inl-ui 0.0.8-rc.21 → 0.0.8-rc.22

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/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import moment from 'moment';
11
11
  import { Chart } from '@antv/g2';
12
12
  import { createStore } from 'vuex';
13
13
 
14
- var version = "0.0.8-rc.20";
14
+ var version = "0.0.8-rc.22";
15
15
 
16
16
  const config = {
17
17
  prefix: "inl"
@@ -13189,6 +13189,7 @@ var loginBox = defineComponent({
13189
13189
  });
13190
13190
  const serverName = inject("serverName");
13191
13191
  const prefix = inject("prefix");
13192
+ const isClould = inject("isClould");
13192
13193
  const instance = getInstance({
13193
13194
  serverName,
13194
13195
  prefix
@@ -13291,7 +13292,7 @@ var loginBox = defineComponent({
13291
13292
  "class": "login_slider",
13292
13293
  "closable": false,
13293
13294
  "footer": null,
13294
- "width": "460px",
13295
+ "width": "480px",
13295
13296
  "visible": visible.value,
13296
13297
  "onUpdate:visible": $event => visible.value = $event
13297
13298
  }, {
@@ -13368,8 +13369,12 @@ var loginBox = defineComponent({
13368
13369
  const loginspinning = ref(false);
13369
13370
 
13370
13371
  const subminBtnClick = () => {
13371
- loginspinning.value = true;
13372
- getImg();
13372
+ if (isClould) {
13373
+ loginspinning.value = true;
13374
+ getImg();
13375
+ } else {
13376
+ toSunmit();
13377
+ }
13373
13378
  };
13374
13379
 
13375
13380
  const renderForm = () => {
@@ -13490,6 +13495,10 @@ const Login = defineComponent({
13490
13495
  default: "comlite/v1/",
13491
13496
  type: String
13492
13497
  },
13498
+ isClould: {
13499
+ default: false,
13500
+ type: Boolean
13501
+ },
13493
13502
  prefix: {
13494
13503
  default: "",
13495
13504
  type: String
@@ -13521,6 +13530,7 @@ const Login = defineComponent({
13521
13530
  const router = useRouter(); // 将相关数据注入到所有子组件中
13522
13531
 
13523
13532
  provide("status", prop.status);
13533
+ provide("isClould", prop.isClould);
13524
13534
  provide("corpLogo", prop.titleLogo);
13525
13535
  provide("ms", prop.ms);
13526
13536
  provide("productLogo", prop.loginMainImg);