fix Style
parent
572caf0be7
commit
3d11d8c660
|
@ -20,7 +20,7 @@ export default {
|
||||||
},
|
},
|
||||||
theme () {
|
theme () {
|
||||||
return this.config.app.theme
|
return this.config.app.theme
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.menus = createMenus(this)
|
this.menus = createMenus(this)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import Plugin from '../../mixins/plugin'
|
import Plugin from '../../mixins/plugin'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'pip',
|
name: 'Pip',
|
||||||
mixins: [Plugin],
|
mixins: [Plugin],
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -258,7 +258,7 @@ export default {
|
||||||
width: 610,
|
width: 610,
|
||||||
content: (h) => (
|
content: (h) => (
|
||||||
<div class="restore-factory-settings">
|
<div class="restore-factory-settings">
|
||||||
<hr>
|
<hr/>
|
||||||
<p>
|
<p>
|
||||||
<h3>操作警告:</h3>
|
<h3>操作警告:</h3>
|
||||||
<div>
|
<div>
|
||||||
|
@ -269,11 +269,11 @@ export default {
|
||||||
,请谨慎操作!!!
|
,请谨慎操作!!!
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
<hr>
|
<hr/>
|
||||||
<p>
|
<p>
|
||||||
<h3>找回个性化配置的方法:</h3>
|
<h3>找回个性化配置的方法:</h3>
|
||||||
<div>
|
<div>
|
||||||
1. 找到备份文件,路径:<span>~/.dev-sidecar/config.json.时间戳.bak.json</span><br>
|
1. 找到备份文件,路径:<span>~/.dev-sidecar/config.json.时间戳.bak.json</span><br/>
|
||||||
2. 将该备份文件重命名为<span>config.json</span>,再重启软件即可恢复个性化配置。
|
2. 将该备份文件重命名为<span>config.json</span>,再重启软件即可恢复个性化配置。
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -9,7 +9,7 @@ module.exports = class DNSOverIpAddress extends BaseDNS {
|
||||||
// const res = fs.readFileSync(path.resolve(__dirname, './data.txt')).toString()
|
// const res = fs.readFileSync(path.resolve(__dirname, './data.txt')).toString()
|
||||||
const res = await axios.get(url)
|
const res = await axios.get(url)
|
||||||
if (res.status !== 200 && res.status !== 201) {
|
if (res.status !== 200 && res.status !== 201) {
|
||||||
log.info(`[dns] get ${hostname} ipaddress: error:${res}`)
|
log.error(`[dns] get ${hostname} ipaddress: error: ${res}`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const ret = res.data
|
const ret = res.data
|
||||||
|
|
Loading…
Reference in New Issue