在日常的vue开发中我们可能会遇见多个路由需要共用一个页面的需求,特别是当路由是通过动态添加的,不同的路由展示的东西只是数据不同其他没有变化。例如: ? 1 2 3 4 5 6 7 8 9 10 11 let routes = [ {path:"/zhanshan", components:Pers ...
分类:
其他好文 时间:
2019-10-09 12:42:46
阅读次数:
156
import { PageVue, UI, Dict, DropDict } from "sj.sys.ui"; components: { 'drop-dict': DropDict }, get dictOptions(): any { return { id: "A10058", //字典ID... ...
分类:
其他好文 时间:
2019-10-09 12:16:35
阅读次数:
108
全局注册:Vue.component('my-component',componentObj)局部注册:components:{ myPartComponent:componentObjFather}注意:注册时如果写驼峰 使用标签时要将有驼峰处换成'-',如果不写驼峰可以这样写('my-part-... ...
分类:
其他好文 时间:
2019-10-05 20:22:16
阅读次数:
77
1. 根目录下新建tree组件 /components/tree/tree.wxml.js.wxss.json (1). tree.wxml (2). tree.js (3). tree.wxss (4). tree.json 2. page文件夹下新建页面detail /page/detail/d ...
分类:
微信 时间:
2019-10-05 16:11:46
阅读次数:
809
在开始之前,建议阅读 应用架构指南。 Before getting started, we recommend reading the Architecture Components Guide to App Architecture. The guide has some useful princ... ...
分类:
移动开发 时间:
2019-10-04 18:46:06
阅读次数:
127
1、找到安装目录D:\Program Files\DevExpress15.2\Components\Tools 2、win+R运行控制台 (cmd) 3、cd D:\Program Files\DevExpress15.2\Components\Tools 【注意:中文目录就是进不去!!安装目录不 ...
分类:
其他好文 时间:
2019-10-04 13:21:30
阅读次数:
110
谷歌官文文档地址:https://developer.android.google.cn/topic/libraries/architecture 安卓构架组建是库的集合:帮助你设计健壮的、易测试的、可维护的应用。使用类作为入口管理UI组建的生命周期和处理数据持久化。 Android archite... ...
分类:
移动开发 时间:
2019-10-04 12:59:30
阅读次数:
117
.net core 中的局部视图组件是ViewComponent,可以用于建制重复使用公共功能组件 一、新建一个类DemoViewComponent(必须以ViewComponent结尾)且继承ViewComponent 二、在View/Share目录下建立Components目录,并在此目录下建立 ...
分类:
Web程序 时间:
2019-10-03 18:28:03
阅读次数:
122
HttpClient is a HTTP/1.1 compliant HTTP agent implementation based on HttpCore. It also provides reusable components for client-side authentication, H... ...
分类:
Web程序 时间:
2019-10-02 20:32:44
阅读次数:
90
主成分分析(principal components analysis,PCA) 用基础的线性代数知识能够推导出主成分分析(principal components analysis,PCA)这一简单的机器学习算法。 1、出发点:在n维实线性空间中我们有m个点的集合{x(1),x(2),...,x( ...
分类:
其他好文 时间:
2019-10-02 14:34:38
阅读次数:
115