- 2024-04-28dotnet appsettings 配置文件读取
Console.Config\Program.csusingMicrosoft.Extensions.Configuration;varbasePath=Directory.GetCurrentDirectory();varconfiguration=newConfigurationBuilder().SetBasePath(basePath)//设置基本路径.AddJsonFile("appsettings.json")//添
- 2024-03-30分页
分页使用ActiveDataProvider和GridViewcontrollerpublicfunctionactionIndex(){$dataProvider=newActiveDataProvider(['query'=>ArticleClass::find(),'pagination'=>['pages
- 2024-03-30yii2-分页
yii2-分页使用ActiveDataProvider和GridViewcontrollerpublicfunctionactionIndex(){$dataProvider=newActiveDataProvider(['query'=>ArticleClass::find(),'pagination'=>['
- 2023-08-24Vue【原创】数据可视化,复合数字形式展示
做数据可视化的时候,经常碰到需要很灵活的数字形式展示。先上个效果图: 如图包括名称,数量,别名,单位,上升下降,环比等等的复合数据展示,并且需要支持样式灵活配置。此组件包括2个模块,父容器组件box-group,其中每一项的子组件box。 父组件box-group1<template>2<divcl
- 2023-03-05flex显示列表数据
<?xmlversion="1.0"encoding="utf-8"?><mx:Applicationxmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute"backgroundColor="#D99191"><mx:Arrayid="coffee
- 2022-11-09Yii2的ListView用法
Yii2的ListView用法控制器publicfunctionactionListView(){$this->layout=false;$dataProvider=newActiveDataProvider(['
- 2022-11-07TestNg注解
packagetest;importorg.testng.annotations.Optional;importorg.testng.annotations.Parameters;importorg.testng.annotations.Test;publicclasstest01{
- 2022-10-21echarts的bug
UncaughtError:InvalidesourceFormat:unknownatassert(util.js:404:15)atmountMethods(dataProvider.js:120:9)atnewDefaultDataProvider2(dataPro
- 2022-09-21走进Java接口测试之测试框架TestNG数据驱动(入门篇)
https://mp.weixin.qq.com/s?__biz=MzIwNDY3MDg1OA==&mid=2247485789&idx=1&sn=fb6c0abd38419747e61d9b14dee10466&chksm=973ddbb8a04a52aeee5869d47b1d0ea01467f2c3bdb9