@cmstops/pro-compo 0.1.6 → 0.1.7

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.
@@ -46,7 +46,7 @@ const _sfc_main = defineComponent({
46
46
  const permissions = ref([]);
47
47
  const slotTest = !!useSlots().reference;
48
48
  const rid = getRID() || "4";
49
- const BASE_API = props.BASE_API === void 0 ? DEFAULT_BASE_API : props.BASE_API;
49
+ const BASE_API = props.BASE_API || DEFAULT_BASE_API;
50
50
  const navList = computed(() => {
51
51
  const appList2 = [];
52
52
  StorePubApplication.value.map((item) => {
package/es/config.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const DEFAULT_BASE_API = "https://site.cmstop.xyz";
2
- export declare const DEFAULT_BASE_ACCOUNT_HOST = "https://account.cmstop.xyz";
1
+ export declare const DEFAULT_BASE_API = "https://site-x.cmstop.net/";
2
+ export declare const DEFAULT_BASE_ACCOUNT_HOST = "https://account-x.cmstop.net/";
package/es/config.js CHANGED
@@ -1,3 +1,3 @@
1
- const DEFAULT_BASE_API = "https://site.cmstop.xyz";
2
- const DEFAULT_BASE_ACCOUNT_HOST = "https://account.cmstop.xyz";
1
+ const DEFAULT_BASE_API = "https://site-x.cmstop.net/";
2
+ const DEFAULT_BASE_ACCOUNT_HOST = "https://account-x.cmstop.net/";
3
3
  export { DEFAULT_BASE_ACCOUNT_HOST, DEFAULT_BASE_API };
@@ -21,7 +21,7 @@ const _sfc_main = defineComponent({
21
21
  emits: ["update:visible", "comfirm"],
22
22
  setup(__props, { emit }) {
23
23
  const props = __props;
24
- const BASE_API = props.BASE_API === void 0 ? DEFAULT_BASE_API : props.BASE_API;
24
+ const BASE_API = props.BASE_API || DEFAULT_BASE_API;
25
25
  const visible = computed({
26
26
  get() {
27
27
  return props.visible;
@@ -17,7 +17,7 @@ const _sfc_main = defineComponent({
17
17
  },
18
18
  setup(__props) {
19
19
  const props = __props;
20
- const BASE_API = props.BASE_API === void 0 ? DEFAULT_BASE_API : props.BASE_API;
20
+ const BASE_API = props.BASE_API || DEFAULT_BASE_API;
21
21
  const slotTest = !!useSlots().reference;
22
22
  const readMessagesCount = ref(0);
23
23
  const unreadMessagesCount = ref(0);
@@ -27,7 +27,7 @@ const _sfc_main = defineComponent({
27
27
  },
28
28
  setup(__props) {
29
29
  const props = __props;
30
- const BASE_API = props.BASE_API === void 0 ? DEFAULT_BASE_API : props.BASE_API;
30
+ const BASE_API = props.BASE_API || DEFAULT_BASE_API;
31
31
  const BASE_ACCOUNT_HOST = props.BASE_ACCOUNT_HOST || DEFAULT_BASE_ACCOUNT_HOST;
32
32
  const slotTest = !!useSlots().reference;
33
33
  const userInfo = ref(null);
@@ -47,7 +47,7 @@ const _sfc_main = vue.defineComponent({
47
47
  const permissions = vue.ref([]);
48
48
  const slotTest = !!vue.useSlots().reference;
49
49
  const rid = auth.getRID() || "4";
50
- const BASE_API = props.BASE_API === void 0 ? config.DEFAULT_BASE_API : props.BASE_API;
50
+ const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
51
51
  const navList = vue.computed(() => {
52
52
  const appList2 = [];
53
53
  StorePubApplication.value.map((item) => {
package/lib/config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const DEFAULT_BASE_API = "https://site.cmstop.xyz";
4
- const DEFAULT_BASE_ACCOUNT_HOST = "https://account.cmstop.xyz";
3
+ const DEFAULT_BASE_API = "https://site-x.cmstop.net/";
4
+ const DEFAULT_BASE_ACCOUNT_HOST = "https://account-x.cmstop.net/";
5
5
  exports.DEFAULT_BASE_ACCOUNT_HOST = DEFAULT_BASE_ACCOUNT_HOST;
6
6
  exports.DEFAULT_BASE_API = DEFAULT_BASE_API;
@@ -22,7 +22,7 @@ const _sfc_main = vue.defineComponent({
22
22
  emits: ["update:visible", "comfirm"],
23
23
  setup(__props, { emit }) {
24
24
  const props = __props;
25
- const BASE_API = props.BASE_API === void 0 ? config.DEFAULT_BASE_API : props.BASE_API;
25
+ const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
26
26
  const visible = vue.computed({
27
27
  get() {
28
28
  return props.visible;
@@ -18,7 +18,7 @@ const _sfc_main = vue.defineComponent({
18
18
  },
19
19
  setup(__props) {
20
20
  const props = __props;
21
- const BASE_API = props.BASE_API === void 0 ? config.DEFAULT_BASE_API : props.BASE_API;
21
+ const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
22
22
  const slotTest = !!vue.useSlots().reference;
23
23
  const readMessagesCount = vue.ref(0);
24
24
  const unreadMessagesCount = vue.ref(0);
@@ -28,7 +28,7 @@ const _sfc_main = vue.defineComponent({
28
28
  },
29
29
  setup(__props) {
30
30
  const props = __props;
31
- const BASE_API = props.BASE_API === void 0 ? config.DEFAULT_BASE_API : props.BASE_API;
31
+ const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
32
32
  const BASE_ACCOUNT_HOST = props.BASE_ACCOUNT_HOST || config.DEFAULT_BASE_ACCOUNT_HOST;
33
33
  const slotTest = !!vue.useSlots().reference;
34
34
  const userInfo = vue.ref(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmstops/pro-compo",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vue",