去掉多余环境变量配置文件
This commit is contained in:
+1
-1
@@ -144,7 +144,7 @@ export function downloadVoiceFile(url) {
|
||||
let baseUrl = get_base_url();
|
||||
return new Promise((resolve, reject) => {
|
||||
uni.downloadFile({
|
||||
url: `${baseUrl}${url}`,
|
||||
url: `${baseUrl}${url}`,
|
||||
header,
|
||||
success(result) {
|
||||
console.log(result)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
const _ENV = import.meta.env
|
||||
|
||||
function msg(title, duration = 1000) {
|
||||
uni.showToast({
|
||||
title: title,
|
||||
|
||||
@@ -145,9 +145,6 @@ onMounted(() => {
|
||||
password.value = loginAccountData.password;
|
||||
}
|
||||
back_state.value = true;
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
console.log(systemInfo);
|
||||
console.log(getPhoneEnvBool('IOS'));
|
||||
});
|
||||
// 跳进了登录页,禁止返回操作
|
||||
onBackPress(() => back_state.value);
|
||||
|
||||
Reference in New Issue
Block a user