@fzbykj/ai-chat-sdk-mp 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fzbykj/ai-chat-sdk-mp",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "AI 对话助手 SDK for 微信小程序 (uni-app)",
5
5
  "main": "sdk/index.js",
6
6
  "files": [
@@ -11,15 +11,13 @@
11
11
  <!-- 正常状态 -->
12
12
  <view v-else class="float-btn" :style="btnStyleStr" @touchstart="onTouchStart" @touchmove="onTouchMove"
13
13
  @touchend="onTouchEnd" @click="openChat">
14
- <image class="btn-icon" :src="iconUrl" mode="aspectFit" />
14
+ <image class="btn-icon" src="../../icon.png" mode="aspectFit" />
15
15
  </view>
16
16
  </view>
17
17
  </template>
18
18
 
19
19
  <script>
20
- import {
21
- aichat
22
- } from '@/utils/sdk.js'
20
+ import { aichat } from '../../utils/sdk.js'
23
21
 
24
22
  export default {
25
23
  name: 'AiFloat',
@@ -17,9 +17,7 @@
17
17
  </template>
18
18
 
19
19
  <script>
20
- import {
21
- aichat
22
- } from '@/utils/sdk.js'
20
+ import { aichat } from '../../utils/sdk.js'
23
21
 
24
22
  export default {
25
23
  data() {