摘要: <jdy-goods-attr :goods_sn="goods.goods_sn" @goods_sn="(msg) => goods.goods_sn = msg" v-model:goods_num="goods.goods_num" ></jdy-goods-attr> const emit 阅读全文
posted @ 2023-11-15 16:15 窦戈 阅读(638) 评论(0) 推荐(0) 编辑
摘要: 使用构造函数传递值: public class ComplexInfoModel { public string Key { get; set; } public string Text { get; set; } public ComplexInfoModel(string key, string 阅读全文
posted @ 2023-10-31 08:23 窦戈 阅读(66) 评论(0) 推荐(0) 编辑
摘要: //构造函数 public MainWindowViewModel() { EditCommand = new DelegateCommand(_editCommand); } //命令声明一 public DelegateCommand EditCommand { get; set; } //构造 阅读全文
posted @ 2023-10-30 13:04 窦戈 阅读(233) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; public class Student{ public string Name { get; set; } } class MyClass { //用于存储学生对象的集合 private List<St 阅读全文
posted @ 2023-10-28 15:58 窦戈 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 天下武功 一脉相承 结合JS理解更容易理解:https://www.cnblogs.com/douyuanjun/p/17465402.html 跟uni.$on、uni.$off、uni.$once 和 uni.$emit 在 UniApp 中与 Prism 框架中的事件订阅和发布机制类似,可以说 阅读全文
posted @ 2023-10-26 11:04 窦戈 阅读(230) 评论(0) 推荐(0) 编辑
摘要: #MainWindow.xaml <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micros 阅读全文
posted @ 2023-10-26 08:57 窦戈 阅读(15) 评论(0) 推荐(0) 编辑
摘要: ```typeScript import { _decorator, Component, Node, SpriteFrame,resources,Sprite,director} from 'cc'; const { ccclass, property } = _decorator; @cccla 阅读全文
posted @ 2023-09-07 06:51 窦戈 阅读(84) 评论(0) 推荐(0) 编辑
摘要: ### frps.ini 服务端 ``` [common] bind_port = 10010 dashboard_user = admin dashboard_pwd = 123456 #管理后台的端口 dashboard_port = 7500 # ssh 要转发的端口 # vhost_ssh_ 阅读全文
posted @ 2023-08-25 08:28 窦戈 阅读(27) 评论(0) 推荐(0) 编辑
摘要: # 要在 CentOS 7.6 上安装图形化界面,可以按照以下步骤进行操作: ```shell # 1. 更新系统: sudo yum update # 2. 安装 GNOME 桌面环境: sudo yum groupinstall "GNOME Desktop" -y # 3. 配置系统默认启动为 阅读全文
posted @ 2023-08-23 08:36 窦戈 阅读(461) 评论(0) 推荐(0) 编辑
摘要: ```mysql set global SQL_MODE="NO_ENGINE_SUBSTITUTION"; ``` 阅读全文
posted @ 2023-07-22 12:06 窦戈 阅读(197) 评论(0) 推荐(0) 编辑