Skip to content

Commit

Permalink
fix: mock 面板按钮点击无反应 #113
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed Jul 13, 2024
1 parent d4b8412 commit d581d5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.06.2405020-2 / 2024-07-

- fix: mock 面板按钮点击无反应

# 1.06.2405020-1 / 2024-07-07

- update: devtools to v1.06.2405020
Expand Down
3 changes: 3 additions & 0 deletions tools/fix-other.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ cd "${package_dir}/node_modules/wcc/build/Release" && rm -rf wcc.node && mv wcc_
\cp "${srcdir}/cache/compiler/${WX_COMPILER_VERSION}"/wcsc_module.node "${package_dir}/node_modules/wcc/build/Release"
cd "${package_dir}/node_modules/wcc/build/Release" && rm -rf wcsc.node && mv wcsc_module.node wcsc.node

# 修复mock按钮无反应
sed -i '1s/^/window.prompt = parent.prompt;\n/' "${package_dir}/js/ideplugin/devtools/index.js"

current=`date "+%Y-%m-%d %H:%M:%S"`
timeStamp=`date -d "$current" +%s`
echo $timeStamp > "${package_dir}/.build_time"
Expand Down

0 comments on commit d581d5a

Please sign in to comment.