移除调试代码

master
yutent 2023-09-06 12:20:42 +08:00
parent 409e5f1dde
commit 26a340ac56
2 changed files with 0 additions and 4 deletions

View File

@ -98,8 +98,6 @@ class Home extends Component {
] ]
async mounted() { async mounted() {
window.foo = this
let writable = await checkPermission() let writable = await checkPermission()
if (writable) { if (writable) {

View File

@ -6,8 +6,6 @@
import { nextTick } from 'wkit' import { nextTick } from 'wkit'
await native.init()
const APP_CONFIG_DIR = `${native.env.CONFIG_DIR}/hosts-switch` const APP_CONFIG_DIR = `${native.env.CONFIG_DIR}/hosts-switch`
const HOST_FILE = `${APP_CONFIG_DIR}/host.cache` const HOST_FILE = `${APP_CONFIG_DIR}/host.cache`
const LOCK_FILE = `${APP_CONFIG_DIR}/lock` const LOCK_FILE = `${APP_CONFIG_DIR}/lock`