This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
FumaoPublic
/
gptAgent
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
upload
master
HolyKnightIX
1 year ago
parent
ab5a7dda97
commit
ac227d38a7
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
miniprogram/pages/index/index.js
+1
-1
miniprogram/pages/index/index.wxml
+ 1
- 0
miniprogram/pages/index/index.js
View File
@@ -11,6 +11,7 @@ Page({
canIUseOpenData: wx.canIUse('open-data.type.userAvatarUrl') && wx.canIUse('open-data.type.userNickName'),
isPhone: false,
isDevMode: false,
devMode: '开发者模式',
holdingSwitch: false,
logoActive: false,
timer: null,
+ 1
- 1
miniprogram/pages/index/index.wxml
View File
@@ -63,7 +63,7 @@
</block>
<block wx:if="{{isDevMode}}">
<view class="userPhone" style="color: #ff0000;font-weight: 600;">
开发者模式
</view>
<view class="userPhone" style="color: #ff0000;font-weight: 600;">
{{devMode}}
</view>
<button type="primary" bindtap="goToChat">开始聊天</button>
</block>
</view>
Write
Preview
Loading…
Cancel
Save