XuX-Stewed Noodles 资源-第20页
XuX的头像-Stewed Noodles 资源
超级管理员河南管理员
一拳之石取其了坚,一勺之水取其净!
巡检计划巡检状态选项添加颜色-Stewed Noodles 资源

巡检计划巡检状态选项添加颜色

列表页面添加 在 index.vue 中添加,如下的代码 <!-- 巡检计划状态添加颜色显示 --> <template v-if='column.leapKey === 'select' && column.prop === 'inspectionPlanStatus''>...
11个月前
0270
Android 模拟器访问外网-Stewed Noodles 资源

Android 模拟器访问外网

在 Android Studio 中开发应用,需要访问 google 相关服务。 模拟器访问Google 连接 AndroidWifi 在 Android 的模拟器的设置中,连接 WiFi,模拟器中 Wifi 的名称可能不一样。 连接 Wifi 设置网...
Kotlin 函数-Stewed Noodles 资源

Kotlin 函数

函数的声明 // 函数声明 fun functionName(parameter1: Type, parameter2: Type): ReturnType { // 函数体 // 执行逻辑 // (可选)返回值 } 无参无返回值 无参无返回值的函数,如下所示 // 无...
Collection 集合-Stewed Noodles 资源

Collection 集合

Kotlin 的 Collections(集合)分为不可变集合和可变集合。不可变集合是只读集合,元素在创建之后不能被修改,常见的不可变集合方法有: List 中的 listOf()、ListOf<T>() Set 中的 setOf(...
Bottom Navigation-Stewed Noodles 资源

Bottom Navigation

创建 Screen HomeScreen 的可组合函数 @Composable fun HomeScreen() { Column( modifier = Modifier.fillMaxSize(), horizontalAlignment = Alignment.CenterHorizontally ) { Button( onClick...
macOS 桌面文件消失-Stewed Noodles 资源

macOS 桌面文件消失

macOS 桌面文件不可见的处理方法,打开终端,输入以下命令 sudo chflags -R nohidden ~/Desktop
Day 15 - 咖啡机-Stewed Noodles 资源

Day 15 – 咖啡机

MENU = { 'espresso': { 'ingredients': { 'water': 50, 'coffee': 18, }, 'cost': 1.5, }, 'latte': { 'ingredients': { 'water': 200, 'milk': 150, 'coffee': 24, }, 'cost': 2.5, }, 'cappu...
Day 17 - 自定义类(Class)-Stewed Noodles 资源

Day 17 – 自定义类(Class)

自定义类 类定义的语法,如下 # 类的定义, ClassName必须首字母大写 class ClassName: # 类的对象 class_name_1 = ClassName() 常见的几种命名方式- PascalCase - camelCase - snake_case 构造...
Day 21 - 贪吃蛇(下)-Stewed Noodles 资源

Day 21 – 贪吃蛇(下)

类继承 从现有类继承行为和外观的过程成为类继承。这里的行为和外观分别为类的方法和属性。类继承可以对现有的类进行属性以及方法的扩展。 # Fish类 class Fish: def __init__(self): '''初始化...
How to create and call an async function如何创建和调用异步函数-Stewed Noodles 资源

How to create and call an async function如何创建和调用异步函数

Using async functions in Swift is done in two steps: declaring the function itself as being async, then calling that function using await.在 Swift 中使用异步函数分两步完...