diff --git a/app/Module/Base.php b/app/Module/Base.php index 8593a03b9..4a3e03ee0 100755 --- a/app/Module/Base.php +++ b/app/Module/Base.php @@ -2734,7 +2734,7 @@ class Base } $src = $createfun($src_img); - $dst = imagecreatetruecolor($width ? $width : $dst_w, $height ? $height : $dst_h); + $dst = imagecreatetruecolor($width ?: $dst_w, $height ?: $dst_h); try { $white = imagecolorallocate($dst, 255, 255, 255); imagefill($dst, 0, 0, $white); diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index c09c85ea8..36848fb74 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -209,5 +209,4 @@ store.dispatch("init").then(_ => { $A.Message = app.$Message; $A.Notice = app.$Notice; $A.Modal = app.$Modal; - $A.Store = app.$store; }) diff --git a/resources/assets/js/pages/manage/components/DialogWrapper.vue b/resources/assets/js/pages/manage/components/DialogWrapper.vue index f68867753..a4a655354 100644 --- a/resources/assets/js/pages/manage/components/DialogWrapper.vue +++ b/resources/assets/js/pages/manage/components/DialogWrapper.vue @@ -196,7 +196,7 @@
{{$L('临时帐号')}}:
-{{$L('临时帐号')}}:
+