no message

This commit is contained in:
Pang 2024-03-10 00:36:07 +08:00
parent 6ee1824410
commit 8b40364722
4 changed files with 22 additions and 9 deletions

10
cmd
View File

@ -465,6 +465,16 @@ if [ $# -gt 0 ]; then
elif [[ "$1" == "electron" ]]; then
shift 1
run_electron $@
elif [[ "$1" == "eeui" ]]; then
shift 1
cli="$@"
por=""
if [[ "$cli" == "build" ]]; then
cli="build --simple"
elif [[ "$cli" == "dev" ]]; then
por="-p 8880:8880"
fi
docker run -it --rm -v ${cur_path}/resources/mobile:/work -w /work ${por} kuaifan/eeui-cli:0.0.1 eeui ${cli}
elif [[ "$1" == "doc" ]]; then
shift 1
run_exec php "php app/Http/Controllers/Api/apidoc.php"

View File

@ -52,7 +52,6 @@
window._disableDownload = setInterval(function() {
var downloadBtn = document.getElementById("slot-hbtn-download")
if(downloadBtn) {
console.log(1)
clearInterval(window._disableDownload);
document.getElementById("slot-hbtn-download")?.remove()
document.getElementById("fm-btn-download")?.remove()

6
electron/build.js vendored
View File

@ -229,14 +229,16 @@ function startBuild(data) {
fs.writeFileSync(indexFile, indexString, 'utf8');
//
if (data.id === 'app') {
const eeuiDir = path.resolve(__dirname, "../resources/mobile");
const eeuiCli = "kuaifan/eeui-cli:0.0.1"
const publicDir = path.resolve(__dirname, "../resources/mobile/src/public");
fse.removeSync(publicDir)
fse.copySync(electronDir, publicDir)
if (argv[3] === "setting") {
child_process.spawnSync("eeui", ["setting"], {stdio: "inherit", cwd: "resources/mobile"});
child_process.spawnSync("docker", `run -it --rm -v ${eeuiDir}:/work -w /work ${eeuiCli} eeui setting`.split(" "), {stdio: "inherit", cwd: "resources/mobile"});
}
if (['setting', 'build'].includes(argv[3])) {
child_process.spawnSync("eeui", ["build", "--simple"], {stdio: "inherit", cwd: "resources/mobile"});
child_process.spawnSync("docker", `run -it --rm -v ${eeuiDir}:/work -w /work ${eeuiCli} eeui build --simple`.split(" "), {stdio: "inherit", cwd: "resources/mobile"});
} else {
[
path.resolve(publicDir, "../../platforms/ios/eeuiApp/bundlejs/eeui/public"),

View File

@ -117,7 +117,7 @@ export default {
'version': window.systemInfo.version || "0.0.1",
'platform': $A.Platform,
}
if(!state.userToken && state.meetingWindow?.meetingSharekey){
if (!state.userToken && state.meetingWindow?.meetingSharekey) {
header.sharekey = state.meetingWindow.meetingSharekey;
}
if ($A.isJson(params.header)) {
@ -4017,11 +4017,13 @@ export default {
},
/**
* 显示会议窗口
* @param state
* @param type
* @param meetingid
*/
* 显示会议窗口
* @param state
* @param type
* @param meetingid
* @param meetingdisabled
* @param meetingSharekey
*/
showMeetingWindow({state}, {type, meetingid, meetingdisabled, meetingSharekey}) {
state.meetingWindow = {
show: true,