上一页 1 2 3 4 5 6 7 8 9 10 ··· 59 下一页
摘要: <template> <div> <p v-for="(item,index) in names" :key="index">{{item}}{{index}}</p> </div> <div v-for="value,key in results">{{key}}-{{value}}</div> 阅读全文
posted @ 2023-06-04 22:58 学无边涯 阅读(152) 评论(0) 推荐(0)
摘要: <template> <div v-if="type 'a'">aaa</div> <div v-else-if="type 'b'">bbb</div> <div v-else>ccc</div> <div v-show="flag">111</div> </template><script> e 阅读全文
posted @ 2023-06-04 22:17 学无边涯 阅读(132) 评论(0) 推荐(0)
摘要: <template> <div v-bind:id="main" v-bind:class="message">aaa</div></template><script> export default{ data(){ return{ message:'active', main:'mainid' } 阅读全文
posted @ 2023-06-04 22:00 学无边涯 阅读(195) 评论(0) 推荐(0)
摘要: <template> {{message}} {{number+1}} {{ok?'yes':'no'}}</template><script> export default{ data(){ return{ message:'aaa', number:10, ok:false } } }</scr 阅读全文
posted @ 2023-06-04 21:39 学无边涯 阅读(19) 评论(0) 推荐(0)
摘要: win7下安装nodejs16.4.01、nodejs下载地址:https://nodejs.org/dist/v13.9.0/https://nodejs.org/dist/latest-v16.x/2、通过以上路径,分别下载下面资源包:node-v13.9.0-x64.msinode-v16.1 阅读全文
posted @ 2023-06-04 20:12 学无边涯 阅读(600) 评论(0) 推荐(0)
摘要: 原因是vue2和vue3写法不对 正确是 <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript" src="https://unpkg.com/vue@nex 阅读全文
posted @ 2023-06-04 13:45 学无边涯 阅读(2578) 评论(0) 推荐(0)
摘要: 控制器 php artisan make:controller Admin\SystemController 路由 Route::get('/sa', 'Admin\StudentController@chaxun'); 控制器 php artisan make:controller Admin\U 阅读全文
posted @ 2023-03-19 10:29 学无边涯 阅读(29) 评论(0) 推荐(0)
摘要: 第一,定义路由 Route::get('/hello', 'UserController'); 第二,控制定义 __invoke namespace App\Http\Controllers;use Illuminate\Http\Request;class UserController exten 阅读全文
posted @ 2023-03-18 21:04 学无边涯 阅读(23) 评论(0) 推荐(0)
摘要: window7安装不了nodejs解决方法 https://nodejs.org/zh-cn/download/releases 阅读全文
posted @ 2023-03-17 21:48 学无边涯 阅读(67) 评论(0) 推荐(0)
摘要: 引入DB类 ILLumnate\Support\Facades\DB db查询语句 DB::select("select * from user") db删除语句 DB::delete("delete * from user") db修改语句 DB::update("update set name= 阅读全文
posted @ 2023-03-12 21:10 学无边涯 阅读(133) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 59 下一页