Ai
1 Star 0 Fork 0

代码织梦师/uniapp_Vue3_ts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
A.ZJT(涛涛) 提交于 2023-09-19 17:17 +08:00 . 初始化仓库
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="cache-control" content="max-age=0"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT"/>
<meta http-equiv="pragma" content="no-cache"/>
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
const zlDefWx = {
config: function () {
},
ready: function () {
},
error: function () {
},
getFileSystemManager: function () {
},
canIUse: function () {
return false
},
setStorageSync: function () {
},
getStorageSync: function () {
},
getSystemInfoSync: function () {
return {
SDKVersion: '3.0.0'
}
}
}
if (typeof wx === 'undefined') {
// 定义一个假的wx全局变量,防止报错
window.wx = zlDefWx
} else {
// 合并下把wx和并到zlDefWx
window.wx = Object.assign(zlDefWx, wx)
}
</script>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhao-jingtao-l/uniapp_Vue3_ts.git
git@gitee.com:zhao-jingtao-l/uniapp_Vue3_ts.git
zhao-jingtao-l
uniapp_Vue3_ts
uniapp_Vue3_ts
master

搜索帮助