移除调试代码
parent
409e5f1dde
commit
26a340ac56
|
@ -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) {
|
||||||
|
|
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue