boka-human-cliend-v3 0.0.29 → 0.0.31

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.
@@ -5198,7 +5198,7 @@
5198
5198
  default: ""
5199
5199
  },
5200
5200
  fullScreen: {
5201
- type: Number,
5201
+ type: [Boolean, Number],
5202
5202
  default: 0
5203
5203
  }
5204
5204
  },
@@ -5222,6 +5222,9 @@
5222
5222
  };
5223
5223
  },
5224
5224
  mounted() {
5225
+ console.log(`%c 客服组件宿主 %c ${location.href}`, "background: #f00; color: #fff; padding: 2px 2px; border-radius: 3px 0 0 3px;", "background: #dedede; color: #000; padding: 2px 8px 2px 2px; border-radius: 0 3px 3px 0;");
5226
+ console.log(`%c 客服组件属性 `, "background: #f00; color: #fff; padding: 2px 2px; border-radius: 3px;");
5227
+ console.log(this.$props);
5225
5228
  setTimeout(() => {
5226
5229
  this.icon();
5227
5230
  this.chatMainInitDrag();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boka-human-cliend-v3",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "main": "dist/boka-human-v3.umd.js",
5
5
  "scripts": {
6
6
  "dev": "vite",
package/src/demo/App.vue CHANGED
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div id="app">
3
- <BokaHuman :token="'Bearer 5254e164ed5786d6a91eb2c1ba338069'" :product="'manageCenterPlus'" :sub-cust-type="''"/>
3
+ <BokaHuman :token="'Bearer de7c459a5964c3f36e459d65353a3efa'" :product="'manageCenterPlus'" :cust-type="'manageCenterPlus'" :sub-cust-type="'standard'" source="g8" :full-screen="1"/>
4
4
  </div>
5
5
  </template>
6
6
 
package/vite.config.js CHANGED
@@ -4,6 +4,9 @@ import vueDevTools from 'vite-plugin-vue-devtools'
4
4
 
5
5
  // https://vite.dev/config/
6
6
  export default defineConfig({
7
+ server: {
8
+ host: '0.0.0.0'
9
+ },
7
10
  plugins: [
8
11
  vue(),
9
12
  vueDevTools(),