Go to file
2025-06-20 16:06:03 +08:00
common 提交代码 2025-06-20 16:06:03 +08:00
pages 提交代码 2025-06-20 16:06:03 +08:00
static/app-plus 提交代码 2025-06-20 16:06:03 +08:00
unpackage/dist/dev 1 2025-06-20 13:42:59 +08:00
.gitattributes 添加排除文件 2025-06-20 14:05:45 +08:00
.gitignore 添加排除文件 2025-06-20 14:05:45 +08:00
App.vue 1 2025-06-20 13:42:59 +08:00
index.html 1 2025-06-20 13:42:59 +08:00
main.js 提交代码 2025-06-20 16:06:03 +08:00
manifest.json 提交代码 2025-06-20 16:06:03 +08:00
package-lock.json 提交代码 2025-06-20 16:06:03 +08:00
package.json 提交代码 2025-06-20 16:06:03 +08:00
pages.json 提交代码 2025-06-20 16:06:03 +08:00
README.md 提交代码 2025-06-20 16:06:03 +08:00
uni.promisify.adaptor.js 1 2025-06-20 13:42:59 +08:00
uni.scss 提交代码 2025-06-20 16:06:03 +08:00

友达赏

代码

# 导入基础
import { defineComponent, ref } from 'vue';
# 导入页面加载方法
import { onLoad } from '@dcloudio/uni-app';
let icon = ref("/static/app-plus/icon_108.png");
# 使用页面加载方法
onLoad(() => {
	console.log('页面加载中');
});