mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 14:50:25 +08:00
21 lines
379 B
JavaScript
21 lines
379 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
this.bodyType = this.bodyTypes[0].code
|
||
|
|
|
||
|
|
this.addHTMLTemplate = function () {
|
||
|
|
this.$refs.htmlBody.value = `<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
\t<title>页面标题</title>
|
||
|
|
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
|
||
|
|
<h3>内容标题</h3>
|
||
|
|
<p>内容</p>
|
||
|
|
|
||
|
|
<footer>Powered by GoEdge.</footer>
|
||
|
|
|
||
|
|
</body>
|
||
|
|
</html>`
|
||
|
|
}
|
||
|
|
})
|