上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 60 下一页
摘要: <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 学无边涯 阅读(198) 评论(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 学无边涯 阅读(24) 评论(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 学无边涯 阅读(605) 评论(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 学无边涯 阅读(2611) 评论(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 学无边涯 阅读(34) 评论(0) 推荐(0)
摘要: 第一,定义路由 Route::get('/hello', 'UserController'); 第二,控制定义 __invoke namespace App\Http\Controllers;use Illuminate\Http\Request;class UserController exten 阅读全文
posted @ 2023-03-18 21:04 学无边涯 阅读(28) 评论(0) 推荐(0)
摘要: window7安装不了nodejs解决方法 https://nodejs.org/zh-cn/download/releases 阅读全文
posted @ 2023-03-17 21:48 学无边涯 阅读(71) 评论(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 学无边涯 阅读(137) 评论(0) 推荐(0)
摘要: 一,查询 引入名字空间 use App\Book; Book::get() Book::find(1) 二,修改 Book->save() 方法 三,删除 Book->delete() 四,增加 Book->create([ 'name'=>'222', ]) 阅读全文
posted @ 2023-03-11 23:09 学无边涯 阅读(34) 评论(0) 推荐(0)
摘要: 一,php artisan make:migration add_number_to_test_table --table=test 二 php artisan migrate 阅读全文
posted @ 2023-03-09 23:00 学无边涯 阅读(73) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 60 下一页