We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc2b42 commit 662b54fCopy full SHA for 662b54f
docs/.vuepress/styles/index.styl
@@ -0,0 +1,16 @@
1
+.page .content,
2
+.page .page-edit,
3
+.page .page-nav {
4
+ max-width: 1200px;
5
+ padding-left: 3em;
6
+ padding-right: 3em;
7
+}
8
+
9
+@media (max-width: 959px) {
10
+ .page .content,
11
+ .page .page-edit,
12
+ .page .page-nav {
13
+ padding-left: 2em;
14
+ padding-right: 2em;
15
+ }
16
src/ModelAbstract.php
@@ -157,7 +157,8 @@ public function del($filter) {
157
}
158
159
160
- return $this->execute($query);
+ $result = $this->execute($query);
161
+ return intval($result['_affected_rows']);
162
163
/**
164
* 添加数据
0 commit comments