懒得勤快 3 semanas atrás
pai
commit
a83d848aa1

+ 1 - 1
src/Masuit.MyBlogs.Core/Views/Dashboard/Counter.cshtml

@@ -20,7 +20,7 @@
     <script type="text/javascript" src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/echarts/5.3.0/echarts.min.js"></script>
     <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.6.10/sweetalert2.min.js"></script>
     <script src="~/Assets/layui/layui.js"></script>
-    <script src="https://gitee.com/maplemei/xm-select/raw/master/dist/xm-select.js"></script>
+    <script src="~/scripts/xm-select.js"></script>
     <script src="~/Scripts/global/counter.js"></script>
 </body>
 </html>

+ 0 - 1
src/Masuit.MyBlogs.Core/Views/Post/Publish.cshtml

@@ -2,7 +2,6 @@
     ViewBag.Title = "投稿";
     Layout = "~/Views/Shared/_Layout.cshtml";
 }
-<link href="~/Assets/fileupload/filestyle.css" rel="stylesheet" />
 <script src="~/scripts/xm-select.js"></script>
 <script src="~/UEditorPlus/ueditor.config.front.js"></script>
 <script type="text/javascript" charset="utf-8" src="~/UEditorPlus/ueditor.all.js"></script>

+ 1 - 0
src/Masuit.MyBlogs.Core/appsettings.json

@@ -1,4 +1,5 @@
 {
+    "DetailedErrors": true,
     "Logging": {
         "LogLevel": {
             "Default": "Information" // 日志级别,线上环境建议设置成Error级别

+ 0 - 39
src/Masuit.MyBlogs.Core/wwwroot/Assets/fileupload/filestyle.css

@@ -1,39 +0,0 @@
-.file-box {
-    position: relative;
-    float: left;
-}
-
-input.uploadFile {
-    position: absolute;
-    left: 0px;
-    top: 0px;
-    opacity: 0;
-    filter: alpha(opacity=0);
-    cursor: pointer;
-    width: 420px;
-    height: 36px;
-    overflow: hidden;
-    z-index: 10;
-}
-
-input.textbox {
-    float: left;
-    padding: 5px;
-    color: #999;
-    height: 24px;
-    line-height: 24px;
-    border: 1px #ccc solid;
-    width: 200px;
-    margin-right: 4px;
-}
-
-a.link {
-    display: inline-block;
-    padding: 4px 16px;
-    color: #fff;
-    font: 14px "Microsoft YaHei", Verdana, Geneva, sans-serif;
-    cursor: pointer;
-    background-color: #0099ff;
-    line-height: 28px;
-    text-decoration: none;
-}