列: function fun(){ console.log('这是工具函数') return 888 } 挂载到全局方法 main.js const app = createSS...
- uni-app
- 2023-03-06
一: 创建child.vue 组件 <script setup> import { defineProps, defineEmits } from 'vue'; // ...
- uni-app
- 2023-03-06
示例1 <template> <view> <text>Welcome to {{ msg }}</text> <input ...
- uni-app
- 2023-03-06